R8C/20 Group, R8C/21 Group 16. Clock Synchronous Serial Interface
Rev.2.00 Aug 27, 2008 Page 321 of 458
REJ09B0250-0200
Figure 16.30 Registers ICDRR and ICDRS
Figure 16.31 PMR Register
IIC Bus Receive Data Register
Symbol Address After Reset
ICDRR 00BFh FFh
RW
b7 b0
Store receive data
When the ICDRS register receives 1-byte data, the receive data is transferred to the ICDRR
register and the next receive is enabled.
RO
Function
IIC Bus Shift Register
Symbol
ICDRS
RW
b7 b0
This register is a register that is used to transmit and receive data.
The transmit data is transferred from the ICDRT to ICDRS registers and data is transmitted
from the SDA pin w hen transmitting.
When 1-byte data is received, data is transferred from the ICDRS to ICDRR registers w hen
receiving.
—
Function
Port Mode Registe
Symbol Address After Reset
PMR
00F8h 00h
Bit Symbol Bit Name Function RW
IICSEL RW
0 : SSU function selects
1 : I
2
C bus function selects
Set to 0
0 : I/O port P6_6, P6_7
1 : TXD1, RXD1
Set to 0
—
Reserved bits
SSU/I
2
C bus sw itch bit
RW
b0
0
—
Reserved bits
U1PINSEL
Port TXD1/RXD1 switch bit
—
(b3-b0)
—
(b6-b5)
b3 b2
0
b1
00
b7 b6 b5 b4
00