CHAPTER 11 SERIAL INTERFACE FUNCTION
User’s Manual U15109EJ3V0UD
334
11.3.2 CSI4 control registers
CSI4 is controlled by the following registers.
•
Variable-length serial control register 4 (CSIM4)
•
Variable-length serial setting register 4 (CSIB4)
•
Baud rate generator source clock select register 4 (BRGCN4)
•
Baud rate generator output clock select register 4 (BRGCK4)
(1) Variable-length serial control register 4 (CSIM4)
This register is used to enable or disable the serial clock, operation modes, and specific operations of serial
interface channel 4.
CSIM4 can be set by an 8-bit or 1-bit memory manipulation instruction.
RESET input sets CSIM4 to 00H.
After reset:
00H
R/W
Address: FFFFF2E2H
<7>
6
5
4
3
2
1
0
CSIM4
CSIE4
0
0
0
0
MODE4
0
SCL4
SIO4 operation enable/disable specification
CSIE4
Shift register operation
Serial counter
Port
0
Operation disabled
Clear
Port function
Note 1
1
Operation enabled
Count operation enabled
Serial fu port function
Note 2
Transfer operation mode flag
MODE4
Operation mode
Transfer start trigger
SO4 output
0
Transmit/receive mode
SIO4 write
Normal output
1
Receive-only mode
SIO4 read
Port function
SCL4
Clock selection
0
External clock input (SCK4)
1
BRG (Baud rate generator)
Notes 1.
The SI4, SO4, and SCK4 pins are used as port function pins when CSIE4 = 0 (SIO4 operation
disabled state).
2.
When CSIE4 = 1 (SIO4 operation enable state), the port function is available only for the SI4 pin
when only using the transmit function and to SO4 pin when using the receive-only function.