Description Of Pin Functions; P00 To P06 (Port 0) - NEC 78K0R/KE3 User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

2.2 Description of Pin Functions

2.2.1 P00 to P06 (port 0)

P00 to P06 function as a 7-bit I/O port. These pins also function as timer I/O, serial interface data I/O, and clock
I/O.
Input to the P03 and P04 pins can be specified through a normal input buffer or a TTL input buffer in 1-bit units,
using port input mode register 0 (PIM0).
Output from the P02 to P04 pins can be specified as normal CMOS output or N-ch open-drain output (V
tolerance) in 1-bit units, using port output mode register 0 (POM0).
The following operation modes can be specified in 1-bit units.
(1) Port mode
P00 to P06 function as a 7-bit I/O port. P00 to P06 can be set to input or output port in 1-bit units using port
mode register 0 (PM0). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 0
(PU0).
(2) Control mode
P00 to P06 function as timer I/O, serial interface data I/O, and clock I/O.
(a) TI00, TI05, TI06
Thess are the pins for inputting an external count clock/capture trigger to 16-bit timer 00, 05, and 06.
(b) TO00, TO05, TO06
These are the timer output pins of 16-bit timer 00, 05, and 06.
(c) SI10
This is a serial data input pin of serial interface CSI10.
(d) SO10
This is a serial data output pin of serial interface CSI10.
(e) SCK10
This is a serial clock I/O pin of serial interface CSI10.
(f) TxD1
This is a serial data output pin of serial interface UART1.
(g) RxD1
This is a serial data input pin of serial interface UART1.
(h) SDA10
This is a serial data I/O pin of serial interface for simplified I
CHAPTER 2 PIN FUNCTIONS
2
C.
User's Manual U17854EJ9V0UD
DD
33

Advertisement

Table of Contents
loading

Table of Contents