Serial Interface Channel 2 Operating Mode Settings - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

Table 20-2. Serial Interface Channel 2 Operating Mode Settings
(1) Operation Stop Mode
ASIM
CSIM2
TXE RXE SCK CSIE2 CSIM22 CSCK
0
0
x
0
x
Other than above
(2) 3-wire Serial I/O Mode
ASIM
CSIM2
TXE RXE SCK CSIE2 CSIM22 CSCK
0
0
0
1
0
1
1
Other than above
(3) Asynchronous Serial Interface Mode
ASIM
CSIM2
TXE RXE SCK CSIE2 CSIM22 CSCK
1
0
0
0
0
1
0
1
0
0
0
1
1
1
0
0
0
1
Notes 1. Can be used freely as port function.
2. Can be used as P70 (CMOS input/output) when only transmitter is used.
Remark x
: Don't care
PMxx : Port mode register
Pxx
: Port output latch
CHAPTER 20 SERIAL INTERFACE CHANNEL 2
PM70 P70 PM71 P71 PM72 P72
Note 1
Note 1
Note 1
Note 1
x
x
x
x
x
PM70 P70 PM71 P71 PM72 P72
Note 2
Note 2
0
1
x
0
1
0
1
PM70 P70 PM71 P71 PM72 P72
Note 1
Note 1
0
x
x
0
Note 1
Note 1
0
1
x
x
x
0
1
x
0
Other than above
Start
Shift
Bit
Clock
Note 1
Note 1
x
x
Start
Shift
Bit
Clock
1
1
x
MSB
External
clock
0
1
Internal
clock
1
x
LSB
External
clock
0
1
Internal
clock
Start
Shift
Bit
Clock
1
1
x
LSB External
clock
Note 1
Note 1
Internal
x
x
clock
1
x
External
clock
Note 1
Note 1
Internal
x
x
clock
1
1
x
External
clock
Note 1
Note 1
x
x
Internal
clock
P72/SCK2
P70/SI2
P71/SO2
/ASCK Pin
/RxD Pin
/TxD Pin
Functions
Functions
Functions
P70
P71
P72
Setting prohibited
P72/SCK2
P70/SI2
P71/SO2
/ASCK Pin
/RxD Pin
/TxD Pin
Functions
Functions
Functions
Note 2
SI2
SO2
SCK2 input
(CMOS
output)
SCK2 output
Note 2
SO2
SI2
SCK2 input
(CMOS
output)
SCK2 output
Setting prohibited
P72/SCK2
P70/SI2
P71/SO2
/ASCK Pin
/RxD Pin
/TxD Pin
Functions
Functions
Functions
TxD
ASCK input
P70
(CMOS
output)
P72
ASCK input
RxD
P71
P72
TxD
ASCK input
(CMOS
output)
P72
Setting prohibited
463

Advertisement

Table of Contents
loading

Table of Contents