Datasheet

C167CR
C167SR
General Device Information
Data Sheet 10 V3.3, 2005-02
P7
P7.0
P7.1
P7.2
P7.3
P7.4
P7.5
P7.6
P7.7
19
20
21
22
23
24
25
26
IO
O
O
O
O
I/O
I/O
I/O
I/O
Port 7 is an 8-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 7 outputs can be configured as
push/pull or open drain drivers. The input threshold of Port 7
is selectable (TTL or special).
The following Port 7 pins also serve for alternate functions:
POUT0 PWM Channel 0 Output
POUT1 PWM Channel 1 Output
POUT2 PWM Channel 2 Output
POUT3 PWM Channel 3 Output
CC28IO CAPCOM2: CC28 Capture Inp./Compare Outp.
CC29IO CAPCOM2: CC29 Capture Inp./Compare Outp.
CC30IO CAPCOM2: CC30 Capture Inp./Compare Outp.
CC31IO CAPCOM2: CC31 Capture Inp./Compare Outp.
P5
P5.0
P5.1
P5.2
P5.3
P5.4
P5.5
P5.6
P5.7
P5.8
P5.9
P5.10
P5.11
P5.12
P5.13
P5.14
P5.15
27
28
29
30
31
32
33
34
35
36
39
40
41
42
43
44
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
Port 5 is a 16-bit input-only port with Schmitt-Trigger
characteristic.
The pins of Port 5 also serve as analog input channels for the
A/D converter, or they serve as timer inputs:
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AN8
AN9
AN10, T6EUD GPT2 Timer T6 Ext. Up/Down Ctrl. Inp.
AN11, T5EUD GPT2 Timer T5 Ext. Up/Down Ctrl. Inp.
AN12, T6IN GPT2 Timer T6 Count Inp.
AN13, T5IN GPT2 Timer T5 Count Inp.
AN14, T4EUD GPT1 Timer T4 Ext. Up/Down Ctrl. Inp.
AN15, T2EUD GPT1 Timer T5 Ext. Up/Down Ctrl. Inp.
Table 2 Pin Definitions and Functions P-MQFP-144-8 (cont’d)
Symbol Pin
No.
Input
Outp.
Function