CHAPTER 12 SERIAL INTERFACE 1A0
User’s Manual U15331EJ4V1UD
219
12.3 Control Registers for Serial Interface 1A0
Serial interface 1A0 is controlled by the following five registers.
•
Serial operation mode register 1A0 (CSIM1A0)
•
Automatic data transmit/receive control register 0 (ADTC0)
•
Automatic data transmit/receive interval specification register 0 (ADTI0)
•
Port mode register 2 (PM2)
•
Port 2 (PM)
(1) Serial operation mode register 1A0 (CSIM1A0)
This register sets serial interface 1A0 serial clock, operation mode, operation enable/disable, and automatic
transmission/reception operation enable/disable.
CSIM1A0 is set via a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to 00H.
Caution Set the port mode register 2 (PM2) in the 3-wire serial I/O mode or 3-wire serial I/O mode
with automatic transmit/receive function as follows.
• In the case of serial clock output (master transmission or master reception)
Set the SCK10/P23 pin to output mode (PM23 = 0) and clear the output latch of P23 to 0.
• In the case of serial clock input (slave transmission or slave reception)
Set the SCK10/P23 pin to input mode (PM23 = 1).
• In transmission or transmission/reception mode
Set the SO10/P24 pin to output mode (PM24 = 0) and clear the output latch of P24 to 0.
Set the SI10/P25 pin to input mode (PM25 = 1).
• In reception mode
Set the SI10/P25 pin to input mode (PM25 = 1).
Содержание PD789488
Страница 2: ...2 User s Manual U15331EJ4V1UD MEMO ...