R01UH0822EJ0100 Rev.1.00
Page 755 of 1041
Jul 31, 2019
RX13T Group
24. I
2
C-bus Interface (RIICa)
24.2.15
I
2
C-bus Transmit Data Register (ICDRT)
When the ICDRT register detects a space in the I
2
C-bus shift register (ICDRS), it transfers the transmit data that has been
written to the ICDRT register to the ICDRS register and starts transmitting data in transmit mode.
The double-buffer structure of the ICDRT register and the ICDRS register allows continuous transmit operation if the
next transmit data has been written to the ICDRT register while the ICDRS register data is being transmitted.
The ICDRT register can always be read and written. Write transmit data to the ICDRT register once when a transmit data
empty interrupt (TXI) request is generated.
24.2.16
I
2
C-bus Receive Data Register (ICDRR)
When 1 byte of data has been received, the received data is transferred from the I
2
C-bus shift register (ICDRS) to the
ICDRR register to enable the next data to be received.
The double-buffer structure of the ICDRS register and the ICDRR register allows continuous receive operation if the
received data has been read from the ICDRR register while the ICDRS register is receiving data.
The ICDRR register cannot be written. Read data from the ICDRR register once when a receive data full interrupt (RXI)
request is generated.
If the ICDRR register receives the next receive data before the current data is read from the ICDRR register (while the
ICSR2.RDRF flag is 1), the RIIC automatically holds the SCL clock low one cycle before the RDRF flag is set to 1 next.
24.2.17
I
2
C-bus Shift Register (ICDRS)
The ICDRS register is an 8-bit shift register to transmit and receive data.
During transmission, transmit data is transferred from the ICDRT register to the ICDRS register and is sent from the
SDA0 pin. During reception, data is transferred from the ICDRS register to the ICDRR register after 1 byte of data has
been received.
The ICDRS register cannot be accessed directly.
Address(es): RIIC0.ICDRT 0008 8312h
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
1
1
1
1
1
1
1
1
Address(es): RIIC0.ICDRR 0008 8313h
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
—
—
—
—
—
—
—
—