Functions Of Ports - NEC switch User Manual

Nec user's manua switch
Table of Contents

Advertisement

Pin Name
I/O
P00 to
I/O
Port 0
P07
8-bit I/O port
Input/output can be specified in 1-bit units.
When used as an input port, use of on-chip pull-up resistors can be
specified by pull-up resistor option register 0 (PU0).
When used as an output port, CMOS output or N-ch open-drain
output can be specified in 8-bit units by port output mode register 0
(POM0).
P10 to
I/O
Port 1
P17
8-bit I/O port
Input/output can be specified in 1-bit units.
When used as an input port, use of on-chip pull-up resistors can be
specified by pull-up resistor option register 0 (PU0).
When used as an output port, CMOS output or N-ch open-drain
output can be specified in 8-bit units by port output mode register 0
(POM0).
P20
I/O
Port 2
7-bit I/O port
P21
Input/output can be specified in 1-bit units.
P22
When used as an input port, use of on-chip pull-up resistors can be
P23
specified by pull-up resistor option register 0 (PU0).
When P25 or P26 is used as an output port, CMOS output or N-ch
P24
open-drain output can be specified in 1-bit units by port output mode
P25
register 1 (POM1).
P26
P40 to
I/O
Port 4
P47
8-bit I/O port
Input/output can be specified in 1-bit units.
When used as an input port, use of on-chip pull-up resistors can be
specified by pull-up resistor option register 0 (PU0).
58
CHAPTER 4
PORT FUNCTIONS
Table 4-1. Functions of Ports
Function
User's Manual U12978EJ3V0UD
After Reset
Alternate
Function
Input
Input
Input
SCK10
SO10
SI10
INTP0/TI01/TO01
Input
KR00 to KR07

Advertisement

Table of Contents
loading

Table of Contents