Inter-Integrated Circuit Controller
7-75
MPU Public Peripherals
Table 7–58. Interrupt Code (INTCODE) Conditions
Interrupt Code
Interrupt Occurred
Priority
000
None
–
001
Arbitration lost interrupt
Highest
010
No acknowledgement interrupt/general call
↓
011
Register access ready interrupt
100
Receive data ready interrupt
101
Transmit data ready interrupt
Lowest
Others
Reserved
–
The read/write I
2
C buffer configuration register (I2C_BUF) enables DMA
transfers.
Table 7–59. I
2
C Buffer Configuration Register (I2C_BUF)
Bit
Name
Description
15
RDMA_EN
Receive DMA channel enable
14–8
–
Reserved
7
XDMA_EN
Transmit DMA channel enable
6–0
–
Reserved
Receive DMA Channel Enable (RDMA_EN)
When this bit (15) is set to 1, the receive DMA channel is enabled and the
receive data ready interrupt is automatically disabled (RRDY_IE bit cleared).
-
0: Receive DMA channel disabled
-
1: Receive DMA channel enabled
Value after reset is low.
Transmit DMA Channel Enable (XDMA_EN)
When this bit is set to 1, the transmit DMA channel is enabled and the transmit
data ready interrupt is automatically disabled (XRDY_IE bit cleared).
-
0: Transmit DMA channel disabled
-
1: Transmit DMA channel enabled
Value after reset is low.
The read/write I
2
C data counter register (I2C_CNT) controls the numbers of
bytes in the I
2
C data payload.