31
CHAPTER 2 PIN FUNCTION
User’s Manual U15104EJ2V0UD
2.2.4 P40 to P47 (Port 4)
P40 to P47 constitute an 8-bit I/O port.
These pins can be specified as input or output in 1-bit units using port mode register 4 (PM4).
On-chip pull-up resistors can be specified by pull-up resistor option register 4 (PU4). An interrupt function via key
input is also provided.
2.2.5 P50 to P57 (Port 5)
P50 to P57 constitute an 8-bit I/O port.
These pins can be specified as input or output in 1-bit units using port mode register 5 (PM5).
2.2.6 P60 to P67 (Port 6)
P60 to P67 constitute an 8-bit port.
These pins can be specified as input or output in 1-bit units using port mode register 6 (PM6).
2.2.7 P70 to P77 (Port 7)
P70 to P77 pins constitute an 8-bit I/O port. In addition to port pins, P70 to P77 also function as serial interface
data I/O, clock I/O, and a timer input.
The following operating modes can be specified in 1-bit units.
(1) Port mode
These pins function as an 8-bit I/O port for which input or output can be specified in 1-bit units using port mode
register 7 (PM7).
(2) Control mode
These pins function as serial interface data I/O, clock I/O, and timer input pins.
(a) SI30, SO30, SI31, SO31
Serial data I/O pins of the serial interface.
(b) SCK30, SCK31
Serial clock I/O pins of the serial interface.
(c) TI52
External clock input pin to 8-bit timer/event counter.
Содержание mPD178053
Страница 2: ...2 User s Manual U15104EJ2V0UD MEMO ...