Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Data Sheet

Product codes
ATSAMD20-XPRO
Page of 660
409
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
26.8.1.2  Control B
Name:
CTRLB
Offset:
0x04
Reset:
0x00000000
Property:
Write-Protected, Enable-Protected, Write-Synchronized
z
Bits 31:19 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to 
zero when this register is written. These bits will always return zero when read.
z
Bit 18 – ACKACT: Acknowledge Action
0: Send ACK
1: Send NACK
The Acknowledge Action (ACKACT) bit defines the slave's acknowledge behavior after an address or data byte is 
received from the master. The acknowledge action is executed when a command is written to the CMD bits. If 
smart mode is enabled (CTRLB.SMEN is one), the acknowledge action is performed when the DATA register is 
read.
This bit is not enable-protected.
z
Bits 17:16 – CMD[1:0]: Command
Writing the Command bits (CMD) triggers the slave operation as defined in 
bits, and always read as zero. The operation is dependent on the slave interrupt flags, INTFLAG.DRDY and INT-
FLAG.AMATCH, in addition to STATUS.DIR (See 
Bit
31
30
29
28
27
26
25
24
Access
R
R
R
R
R
R
R
R
Reset
0
0
0
0
0
0
0
0
Bit
23
22
21
20
19
18
17
16
ACKACT
CMD[1:0]
Access
R
R
R
R
R
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
15
14
13
12
11
10
9
8
AMODE[1:0]
SMEN
Access
R/W
R/W
R
R
R
R
R
R/W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
Access
R
R
R
R
R
R
R
R
Reset
0
0
0
0
0
0
0
0