C167CR
C167SR
Table 2
Pin Definitions and Functions (cont’d)
Symbol Pin
Input Function
Num. Outp.
P2
IO
Port 2 is a 16-bit bidirectional I/O port. 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. Port 2 outputs can be configured as push/
pull or open drain drivers. The input threshold of Port 2 is
selectable (TTL or special).
The following Port 2 pins also serve for alternate functions:
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P2.8
47
48
49
50
51
52
53
54
57
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I
I/O
I
I/O
I
I/O
I
I/O
I
CC0IO
CC1IO
CC2IO
CC3IO
CC4IO
CC5IO
CC6IO
CC7IO
CC8IO
EX0IN
CC9IO
EX1IN
CC10IO
EX2IN
CC11IO
EX3IN
CC12IO
EX4IN
CC13IO
EX5IN
CC14IO
EX6IN
CC15IO
EX7IN
T7IN
CAPCOM1: CC0 Capture Inp./Compare Output
CAPCOM1: CC1 Capture Inp./Compare Output
CAPCOM1: CC2 Capture Inp./Compare Output
CAPCOM1: CC3 Capture Inp./Compare Output
CAPCOM1: CC4 Capture Inp./Compare Output
CAPCOM1: CC5 Capture Inp./Compare Output
CAPCOM1: CC6 Capture Inp./Compare Output
CAPCOM1: CC7 Capture Inp./Compare Output
CAPCOM1: CC8 Capture Inp./Compare Output,
Fast External Interrupt 0 Input
CAPCOM1: CC9 Capture Inp./Compare Output,
Fast External Interrupt 1 Input
CAPCOM1: CC10 Capture Inp./Compare Outp.,
Fast External Interrupt 2 Input
CAPCOM1: CC11 Capture Inp./Compare Outp.,
Fast External Interrupt 3 Input
CAPCOM1: CC12 Capture Inp./Compare Outp.,
Fast External Interrupt 4 Input
P2.9
58
59
60
61
62
63
64
P2.10
P2.11
P2.12
P2.13
P2.14
P2.15
I/O
I
I/O
I
I/O
I
I
CAPCOM1: CC13 Capture Inp./Compare Outp.,
Fast External Interrupt 5 Input
CAPCOM1: CC14 Capture Inp./Compare Outp.,
Fast External Interrupt 6 Input
CAPCOM1: CC15 Capture Inp./Compare Outp.,
Fast External Interrupt 7 Input,
CAPCOM2: Timer T7 Count Input
Data Sheet
7
V3.2, 2001-07