49
Chapter 2
Pin Functions
User’s Manual U16702EE3V2UD00
(5)
P50 to P55 (Port 5)
Port 5 is a 6-bit I/O port for which input and output can be set in 1-bit units.
In addition to I/O port pins, P50 to P55 can also be used as timer/counter I/O and CSI3 in the con-
trol mode. The port/control mode can be selected for each bit.
An on-chip pull-up and Pull-down resistor can be specified for use in 1-bit units using pull-up/ pull-
down resistor option register 5 (PU5, PD5).
(a) Port mode
P50 to P55 can be set to input or output in 1-bit units using port mode register 5 (PM5).
(b) Control mode
P50 to P55 can be set to control modes in 1-bit units using port mode control register 5 (PMC5)
and port mode function register 5 (PFC5).
•
TIQ00, TIQ01, TIQ02, TIQ03 (timer input) … Input
These are the input/capture pins for TMQ0.
•
TOQ00, TOQ01, TOQ02, TOQ03 (timer output) … Output
These are the output/compare pins for TMQ0.
•
SI30 (serial input) … Input
This is the serial receive data input pin for CSI30.
•
SO30 (serial output) … Output
This is the serial transmit data output pin for CSI30.
electronic components distributor