![Texas Instruments AM1808 Technical Reference Manual Download Page 1005](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581005.webp)
Registers
1005
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Inter-Integrated Circuit (I2C) Module
22.3.3
I2C Interrupt Status Register (ICSTR)
The I2C interrupt status register (ICSTR) is used to determine which interrupt has occurred and to read
status information. ICSTR is shown in
and described in
.
Figure 22-15. I2C Interrupt Status Register (ICSTR)
31
16
Reserved
R-0
15
14
13
12
11
10
9
8
Reserved
SDIR
NACKSNT
BB
RSFULL
XSMT
AAS
AD0
R-0
R/W1C-0
R/W1C-0
R/W1C-0
R-0
R-1
R-0
R-0
7
6
5
4
3
2
1
0
Reserved
SCD
ICXRDY
ICRRDY
ARDY
NACK
AL
R-0
R/W1C-0
R/W1C-1
R/W1C-0
R/W1C-0
R/W1C-0
R/W1C-0
LEGEND: R/W = Read/Write; R = Read only; W1C = Write 1 to clear (writing 0 has no effect); -
n
= value after reset
Table 22-7. I2C Interrupt Status Register (ICSTR) Field Descriptions
Bit
Field
Value
Description
31-15
Reserved
0
These reserved bit locations are always read as zeros. A value written to this field has no effect.
14
SDIR
Slave direction bit. In digital-loopback mode (DLB), the SDIR bit is cleared to 0.
0
I2C is acting as a master-transmitter/receiver or a slave-receiver. SDIR is cleared by one of the
following events:
• A STOP or a START condition.
• SDIR is manually cleared. To clear this bit, write a 1 to it.
1
I2C is acting as a slave-transmitter.
13
NACKSNT
No-acknowledgment sent bit. NACKSNT bit is used when the I2C is in the receiver mode. One instance
in which NACKSNT is affected is when the NACK mode is used (see the description for NACKMOD in
).
0
NACK is not sent. NACKSNT is cleared by one of the following events:
• It is manually cleared. To clear this bit, write a 1 to it.
• The I2C is reset (either when 0 is written to the IRS bit of ICMDR or when the processor is reset).
1
NACK is sent. A no-acknowledge bit was sent during the acknowledge cycle on the I2C-bus.
12
BB
Bus busy bit. BB bit indicates whether the I2C-bus is busy or is free for another data transfer. In the
master mode, BB is controlled by the software.
0
Bus is free. BB is cleared by one of the following events:
• The I2C receives or transmits a STOP bit (bus free).
• BB is manually cleared. To clear this bit, write a 1 to it.
• The I2C is reset (either when 0 is written to the IRS bit of ICMDR or when the processor is reset).
1
Bus is busy. When the STT bit in ICMDR is set to 1, a restart condition is generated. BB is set by one of
the following events:
• The I2C has received or transmitted a START bit on the bus.
• I2Cx_SCL is in a low state and the IRS bit in ICMDR is 0.
11
RSFULL
Receive shift register full bit. RSFULL indicates an overrun condition during reception. Overrun occurs
when the receive shift register (ICRSR) is full with new data but the previous data has not been read
from the data receive register (ICDRR). The new data will not be copied to ICDRR until the previous
data is read. As new bits arrive from the I2Cx_SDA pin, they overwrite the bits in ICRSR.
0
No overrun is detected. RSFULL is cleared by one of the following events:
• ICDRR is read.
• The I2C is reset (either when 0 is written to the IRS bit of ICMDR or when the processor is reset).
1
Overrun is detected.