47
CHAPTER 2 PIN FUNCTIONS
User’s Manual U15798EJ2V0UD
2.2.3 P20 to P27 (Port 2)
These are 8-bit I/O ports. Besides serving as I/O ports, they function as serial interface data I/O and clock I/O.
The following operation modes can be specified in 1-bit units.
(1) Port mode
These ports function as 8-bit I/O ports. They can be specified as input or output ports in 1-bit units with port
mode register 2 (PM2). On-chip pull-up resistors can be used by setting pull-up resistor option register 2 (PU2).
(2) Control mode
These ports function as serial interface data I/O and clock I/O functions.
(a) SI1, SI3, SO1, and SO3
Serial interface serial data I/O pins.
(b) SCK1 and SCK3
Serial interface serial clock I/O pins.
(c) R
X
D0 and T
X
D0
Asynchronous serial interface serial data I/O pins.
2.2.4 P30 to P35 (Port 3)
These are 6-bit I/O ports. Besides serving as I/O ports, they function as serial interface data I/O, clock I/O, and
timer I/O.
(1) Port mode
These ports function as 6-bit I/O ports. They can be specified as input or output ports in 1-bit units with port
mode register 3 (PM3).
P30 and P31 are 5 V N-ch open-drain. They can drive LEDs directly.
µ
PD780343, 780344, 780353, and 780354
can use on-chip pull-up resistors by mask option.
P32 to P35 can use on-chip pull-up resistors by setting pull-up resistor option register 3 (PU3).
(2) Control mode
These ports function as serial interface data I/O, clock I/O, and timer I/O.
(a) SDA0
Serial interface serial data I/O pin.
(b) SCL0
Serial interface serial clock I/O pin.
(c) TI00
External count clock input pin to 16-bit timer/event counter 0 and capture trigger signal input pin to capture
registers (CR00 and CR01) of the 16-bit timer/event counter 0.
(d) TI01
Capture trigger signal input pin to capture register (CR00) of the 16-bit timer/event counter 0.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...