P10 To P17 (Port 1) - NEC 78K0R/KE3 User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

(i)
SCL10
This is a serial clock I/O pin of serial interface for simplified I
Caution To use P02/SO10/TxD1 and P04/SCK10/SCL10 as general-purpose ports, set serial
communication operation setting register 02 (SCR02) to the default status (0087H). In
addition, clear port output mode register 0 (POM0) to 00H.

2.2.2 P10 to P17 (port 1)

P10 to P17 function as an 8-bit I/O port. These pins also function as external interrupt request input, serial
interface data I/O, clock I/O, timer I/O, and real-time counter clock output.
The following operation modes can be specified in 1-bit units.
(1) Port mode
P10 to P17 function as an 8-bit I/O port. P10 to P17 can be set to input or output port in 1-bit units using port
mode register 1 (PM1). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 1
(PU1).
(2) Control mode
P10 to P17 function as external interrupt request input, serial interface data I/O, clock I/O, timer I/O, and real-time
counter clock output.
(a) SI00
This is a serial data input pin of serial interface CSI00.
(b) SO00
This is a serial data output pin of serial interface CSI00.
(c) SCK00
This is a serial clock I/O pin of serial interface CSI00.
(d) RxD0
This is a serial data input pin of serial interface UART0.
(e) RxD3
This is a serial data input pin of serial interface UART3.
(f) TxD0
This is a serial data output pin of serial interface UART0.
(g) TxD3
This is a serial data output pin of serial interface UART3.
(h) TI01, TI02
These are the pins for inputting an external count clock/capture trigger to 16-bit timers 01 and 02.
34
CHAPTER 2 PIN FUNCTIONS
2
C.
User's Manual U17854EJ9V0UD

Advertisement

Table of Contents
loading

Table of Contents