C167CR
Pin Definitions and Functions (cont’d)
Symbol Pin
Input (I)
Function
Number Output (O)
P5.0 -
P5.15
27 - 36
39 - 44
I
I
Port 5 is a 16-bit input-only port with Schmitt-Trigger
characteristics. The pins of Port 5 also serve as the (up to 16)
analog input channels for the A/D converter, where P5.x
equals ANx (Analog input channel x), or they serve as timer
inputs:
39
40
41
42
43
44
I
I
I
I
I
I
P5.10
P5.11
P5.12
P5.13
P5.14
P5.15
T6EUD
T5EUD
T6IN
T5IN
T4EUD
T2EUD
GPT2 Timer T6 Ext.Up/Down Ctrl.Input
GPT2 Timer T5 Ext.Up/Down Ctrl.Input
GPT2 Timer T6 Count Input
GPT2 Timer T5 Count Input
GPT1 Timer T4 Ext.Up/Down Ctrl.Input
GPT1 Timer T2 Ext.Up/Down Ctrl.Input
P2.0 -
P2.15
47 - 54
57 - 64
I/O
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:
47
...
54
57
I/O
...
I/O
I/O
I
...
I/O
I
P2.0
...
P2.7
P2.8
CC0IO
...
CC7IO
CC8IO
EX0IN
...
CAPCOM: CC0 Cap.-In/Comp.Out
...
CAPCOM: CC7 Cap.-In/Comp.Out
CAPCOM: CC8 Cap.-In/Comp.Out,
Fast External Interrupt 0 Input
...
...
64
...
P2.15
CC15IO CAPCOM: CC15 Cap.-In/Comp.Out,
EX7IN
T7IN
Fast External Interrupt 7 Input
CAPCOM2 Timer T7 Count Input
I
Semiconductor Group
6