R8C/1A Group, R8C/1B Group
16.2.4
Communication Modes and Pin Functions
Clock synchronous serial I/O with chip select switches the functions of the I/O pins in each communication
mode according to the setting of the MSS bit in the SSCRH register and bits RE and TE in the SSER register.
Table 16.4 shows the Association between Communication Modes and I/O Pins.
Table 16.4
Association between Communication Modes and I/O Pins
Communication Mode
Clock synchronous
communication mode
4-wire bus
communication mode
4-wire bus
(bidirectional)
communication mode
NOTES:
1. This pin can be used as a programmable I/O port.
2. Do not set both bits TE and RE to 1 in 4-wire bus (bidirectional) communication mode.
SSUMS and BIDE: Bits in SSMR2 register
MSS: Bit in SSCRH register
TE and RE: Bits in SSER register
Rev.1.30
Dec 08, 2006
REJ09B0252-0130
SSUMS
BIDE
0
Disabled 0
1
0
1
1
(2)
Page 183 of 315
Bit Setting
MSS
TE
0
1
1
0
1
1
0
1
1
0
1
0
0
1
1
0
1
1
0
1
1
0
1
0
0
1
1
0
1
0
1
1
0
16. Clock Synchronous Serial Interface
Pin State
RE
SSI
SSO
−
Input
(1)
−
(1)
Output
Input
Output
−
Input
(1)
−
(1)
Output
Input
Output
−
(1)
Input
−
Output
(1)
Output
Input
−
Input
(1)
−
(1)
Output
Input
Output
−
(1)
Input
−
(1)
Output
−
(1)
Input
−
(1)
Output
SSCK
Input
Input
Input
Output
Output
Output
Input
Input
Input
Output
Output
Output
Input
Input
Output
Output