248
XMEGA B [DATASHEET]
8291B–AVR–01/2013
Table 19-3. TWI master inactive bus timeout settings.
Bit 1
–
QCEN: Quick Command Enable
When quick command is enabled, the corresponding interrupt flag is set immediately after the slave acknowledges the
address (read or write interrupt). At this point, software can issue either a STOP or a repeated START condition.
Bit 0
–
SMEN: Smart Mode Enable
Setting this bit enables smart mode. When smart mode is enabled, the acknowledge action, as set by the ACKACT bit in
the CTRLC register, is sent immediately after reading the DATA register.
19.9.3 CTRLC – Control register C
Bits 7:3
–
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.
Bit 2
–
ACKACT: Acknowledge Action
This bit defines the master's acknowledge behavior in master read mode. The acknowledge action is executed when a
command is written to the CMD bits. If SMEN in the CTRLB register is set, the acknowledge action is performed when
the DATA register is read.
lists the acknowledge actions.
Table 19-4. ACKACT bit description.
Bit 1:0
–
CMD[1:0]: Command
Writing the command (CMD) bits triggers a master operation as defined by
. The CMD bits are strobe bits, and
always read as zero. The acknowledge action is only valid in master read mode (R). In master write mode (W), a
command will only result in a repeated START or STOP condition. The ACKACT bit and the CMD bits can be written at
the same time, and then the acknowledge action will be updated before the command is triggered.
TIMEOUT[1:0]
Group Configuration
Description
00
DISABLED
Disabled, normally used for I
2
C
01
50US
50
μ
s, normally used for SMBus at 100kHz
10
100US
100
μ
s
11
200US
200
μ
s
Bit
7
6
5
4
3
2
1
0
–
–
–
–
–
ACKACT
CMD[1:0]
Read/Write
R
R
R
R
R
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
ACKACT
Action
0
Send ACK
1
Send NACK
Summary of Contents for XMEGA B
Page 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Page 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Page 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Page 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Page 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...