C164SV
Data Sheet
8
V1.0, 2003-04
Preliminary
PORT1
P1L.0
P1L.1
P1L.2
P1L.3
P1L.4
P1L.5
P1L.6
P1L.7
P1H.0
P1H.1
P1H.2
P1H.3
P1H.4
P1H.5
P1H.6
P1H.7
XTAL2
XTAL1
36
37
38
39
40
41
42
43
44
45
46
47
52
53
54
55
49
50
IO
I/O
O
I/O
O
I/O
O
O
I
I
I
I/O
I
I
I/O
I
I
I/O
I
I
I/O
I/O
I/O
I/O
I/O
O
I
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.
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 CAPCOM6 compare outputs to
the logic level defined by software (if enabled).
CC6POS0 CAPCOM6: Position 0 Input,
EX0IN
Fast External Interrupt 0 Input,
CC28IO
CAPCOM2: CC28 Capture Inp./Compare Outp.
CC6POS1 CAPCOM6: Position 1 Input,
EX1IN
Fast External Interrupt 1 Input,
CC29IO
CAPCOM2: CC29 Capture Inp./Compare Outp.
CC6POS2 CAPCOM6: Position 2 Input,
EX2IN
Fast External Interrupt 2 Input,
CC30IO
CAPCOM2: CC30 Capture Inp./Compare Outp.
EX3IN
Fast External Interrupt 3 Input,
T7IN
CAPCOM2: Timer T7 Count Input,
CC31IO
CAPCOM2: CC31 Capture Inp./Compare Outp.
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.
XTAL2:
Output of the oscillator amplifier circuit.
XTAL1:
Input to the oscillator amplifier and input to
the internal clock generator
To clock the device from an external source, drive XTAL1,
while leaving XTAL2 unconnected. Minimum and maximum
high/low and rise/fall times specified in the AC
Characteristics must be observed.
Table 2
Symbol Pin
Pin Definitions and Functions
(cont’d)
Input
Outp.
No.
Function