C164CI/SI
C164CL/SL
Table 2
Pin Definitions and Functions (cont’d)
Symbol Pin
No.
Input Function
Outp.
PORT1
IO
P1L.0-7 47-52,
57-59
P1H.0-7 59,
62-68
P1L.0 47
I/O
P1L.1 48
O
P1L.2 49
I/O
P1L.3 50
O
P1L.4 51
I/O
P1L.5 52
O
P1L.6 57
O
P1L.7 58
I
P1H.0 59
I
I
P1H.1 62
I
I
P1H.2 63
I
I
P1H.3 64
I
P1H.4 65
I/O
P1H.5 66
I/O
P1H.6 67
I/O
P1H.7 68
I/O
PORT1 consists of the two 8-bit bidirectional I/O ports P1L
and P1H. It is bit-wise programmable for input or output via
direction bits. For a pin configured as input, the output driver
is put into high-impedance state. PORT1 is used as the
16-bit address bus (A) in demultiplexed bus modes and also
after switching from a demultiplexed bus mode to a
multiplexed bus mode.
The following PORT1 pins also serve for alt. functions:
CC60
CAPCOM6: Input / Output of Channel 0
COUT60 CAPCOM6: Output of Channel 0
CC61
CAPCOM6: Input / Output of Channel 1
COUT61 CAPCOM6: Output of Channel 1
CC62
CAPCOM6: Input / Output of Channel 2
COUT62 CAPCOM6: Output of Channel 2
COUT63 Output of 10-bit Compare Channel
CTRAP CAPCOM6: Trap Input
CTRAP is an input pin with an internal pullup resistor. A low
level on this pin switches the compare outputs of the
CAPCOM6 unit to the logic level defined by software.
CC6POS0 CAPCOM6: Position 0 Input, **)
EX0IN Fast External Interrupt 0 Input
CC6POS1 CAPCOM6: Position 1 Input, **)
EX1IN Fast External Interrupt 1 Input
CC6POS2 CAPCOM6: Position 2 Input, **)
EX2IN Fast External Interrupt 2 Input
EX3IN Fast External Interrupt 3 Input,
T7IN
CAPCOM2: Timer T7 Count Input
CC24IO CAPCOM2: CC24 Capture Inp./Compare Outp.
CC25IO CAPCOM2: CC25 Capture Inp./Compare Outp.
CC26IO CAPCOM2: CC26 Capture Inp./Compare Outp.
CC27IO CAPCOM2: CC27 Capture Inp./Compare Outp.
Note: The marked (**) input signals are available only in
devices with a full function CAPCOM6.
Data Sheet
8
V2.0, 2001-05