Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1152 of 1852
Nov 30, 2020
RX23W Group 35. I
2
C-bus Interface (RIICa)
35.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.
35.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 line low one cycle before the RDRF flag is set to 1 next.
35.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:
11111111
Address(es): RIIC0.ICDRR 0008 8313h
b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
00000000
b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
————————