
38
μPD780948, μPD78F0948, μPD780949, μPD78F0949
2.3 Description of Pin Functions
2.3.1 P00 to P07 (Port 0)
These are 8-bit input/output ports. Besides serving as input/output ports, they function as an external
interrupt input, an external count clock input to the timer, a capture trigger signal input, a timer signal output.
The following operating modes can be specified bit-wise.
(1) Port mode
P00 to P07 function as input/output ports. P00 to P07 can be specified for input or output ports bitwise
with a port mode register 0. When they are used as input ports, pull-up resistors can be connected
to them by defining the pull-up resistors bitwise in the pull-up resistor option register 0.
(2) Control mode
In this mode, these ports function as an external interrupt input, an external count clock input to
the timer, and a timer signal output.
(a) INTP0 to INTP4
INTP0 to INTP4 are external interrupt input pins which can specify valid edges (rising edge,
falling edge, and both rising and falling edges). INTP4 becomes a 16-bit timer/event counter
capture trigger signal input pin with a valid edge input.
(b) TI00
Pin for external count clock input to 16-bit timer/event counter and pin for capture trigger signal
input to the 16-bit timer/event counter capture register (CR01).
(c) TI01
Pin for capture trigger signal input to capture register of 16-bit timer/event counter (CR00).
(d) TI50
Pin for external count clock input to 8-bit timer/event counter.
(e) TI51
Pin for external count clock input to 8-bit timer/event counter.
(f) TO0
Pin for output of the 16-bit timer/event counter.
(g) TO50
Pin for output of the 8-bit timer/event counter.
(h) TO51
Pin for output of the 8-bit timer/event counter.
(i) T2PO
Pin for output of the 16-bit timer (TM2).