
CHAPTER 15 SERIAL INTERFACE CSI10
User’s Manual U19780EJ2V0UD
408
(3) Input switch control register (ISC)
The input switch control register (ISC) is used to switch the pins to which the serial clock (SCK10) and serial data
input (SI10) of serial interface CSI10 are assigned.
By setting ISC2 to 1, SCK10 and SI10 are assigned to the P31/INTP5/OCD1A and P32/INTP4/OCD1B pins,
respectively. Note that the transmission and reception capabilities (master, slave) of CSI10 differ according to the
assigned pins.This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 15-4. Format of Input Switch Control Register (ISC)
Address: FF4FH After reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
ISC
0 0 0 0 0
ISC2
ISC1
Note
ISC0
Note
ISC2
Pin to Which Serial
Clock (SCK10) Is
Assigned
Pin to Which Serial Data
Input (SI10) Is Assigned
Transmit/receive function
0 P60/SCLA0
P61/SDAA0
Slave
transmission/reception only
1 P31/INTP5/OCD1A P32/INTP4/OCD1B
Master transmission/reception,
Slave transmission/reception
Note
ISC0 and ISC1 are setting about serial interface UART6, refer to
CHAPTER 14 SERIAL
INTERFACE UART6
.
(4) Port mode registers 3, 4
Note 1
, 6 (PM3, PM4
Note 1
, PM6)
This register sets port 3, 4, and 6 input/output in 1-bit units.
When using P31/INTP5/OCD1A/SCK10 as the clock output pin of the serial interface, clear PM31 to 0, and set
the output latches of P31 to 1.
When using P35/SO10/INTP1 as the data output pin of the serial interface, clear PM35 and the output latches of
P35 to 0.
When using SCK10 as the clock input pin of the serial interface, SI10 as the data input pin, and
P42/SSI10/INTP9/PCL
Note 1
as the chip select input of the serial interface, set PM60
Note 2
, PM61
Note 2
, and PM42
Note 1
to 1. At this time, the output latches of P60
Note 3
, P61
Note 3
, and P42
Note 1
may be 0 or 1.
PM3, PM4
Note 1
, and PM6 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to FFH.
Notes 1.
78K0/KC2-A
only.
2.
If bit 2 (ISC2) of the input switch control register is set to “1”, replace PM60 and PM61 with PM31 and
PM32.
3.
If bit 2 (ISC2) of the input switch control register is set to “1”, replace P60 and P61 with P31 and P32.