Datasheet

C167CR
C167SR
General Device Information
Data Sheet 24 V3.3, 2005-02
P2
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P2.8
P2.9
P2.10
P2.11
P2.12
P2.13
P2.14
P2.15
F3
F2
F4
G4
G3
G2
G1
H1
H4
J1
J2
J4
J3
K1
K2
L1
IO
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
I/O
I
I/O
I
I/O
I
I
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:
CC0IO CAPCOM1: CC0 Capture Inp./Compare Output
CC1IO CAPCOM1: CC1 Capture Inp./Compare Output
CC2IO CAPCOM1: CC2 Capture Inp./Compare Output
CC3IO CAPCOM1: CC3 Capture Inp./Compare Output
CC4IO CAPCOM1: CC4 Capture Inp./Compare Output
CC5IO CAPCOM1: CC5 Capture Inp./Compare Output
CC6IO CAPCOM1: CC6 Capture Inp./Compare Output
CC7IO CAPCOM1: CC7 Capture Inp./Compare Output
CC8IO CAPCOM1: CC8 Capture Inp./Compare Output,
EX0IN Fast External Interrupt 0 Input
CC9IO CAPCOM1: CC9 Capture Inp./Compare Output,
EX1IN Fast External Interrupt 1 Input
CC10IO CAPCOM1: CC10 Capture Inp./Compare Outp.,
EX2IN Fast External Interrupt 2 Input
CC11IO CAPCOM1: CC11 Capture Inp./Compare Outp.,
EX3IN Fast External Interrupt 3 Input
CC12IO CAPCOM1: CC12 Capture Inp./Compare Outp.,
EX4IN Fast External Interrupt 4 Input
CC13IO CAPCOM1: CC13 Capture Inp./Compare Outp.,
EX5IN Fast External Interrupt 5 Input
CC14IO CAPCOM1: CC14 Capture Inp./Compare Outp.,
EX6IN Fast External Interrupt 6 Input
CC15IO CAPCOM1: CC15 Capture Inp./Compare Outp.,
EX7IN Fast External Interrupt 7 Input,
T7IN CAPCOM2: Timer T7 Count Input
V
AREF
B2 Reference voltage for the A/D converter.
V
AGND
C2 Reference ground for the A/D converter.
Table 3 Pin Definitions and Functions P-BGA-176-2 (cont’d)
Symbol Pin
Num.
Input
Outp.
Function