Datasheet
C167CS-4R
C167CS-L
Data Sheet 11 V2.2, 2001-08
PORT1
P1L.0-7
P1H.0-7
P1L.0
P1L.1
P1L.2
P1L.3
P1L.4
P1L.5
P1L.6
P1L.7
P1H.4
P1H.5
P1H.6
P1H.7
118-
125
128-
135
118
119
120
121
122
123
124
125
132
133
134
135
IO
I
I
I
I
I
I
I
I
I/O
I/O
I/O
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 alternate functions:
AN16 Analog Input Channel 16
AN17 Analog Input Channel 17
AN18 Analog Input Channel 18
AN19 Analog Input Channel 19
AN20 Analog Input Channel 20
AN21 Analog Input Channel 21
AN22 Analog Input Channel 22
AN23 Analog Input Channel 23
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
XTAL1
137
138
O
I
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 Pin Definitions and Functions (cont’d)
Symbol Pin
Num.
Input
Outp.
Function










