1-6
Table 1-1 (b) Explanation of Pins (Basic Functions)
P2.0
Type
Pin
Name
Pin
No.
Function
Port
P0.0
77
Input
4-bit input port (P0):
These are 4-bit input ports permitting selection of the pull-up
resistance input/pull-down resistance input/high impedance
input through the control register of port 01 (P01CON).
As the secondary functions, an external interrupt function is
allocated to P0.0 to P0.3 and a capture trigger function is
assigned to P0.0 and P0.1.
P0.1
78
P0.2
79
P0.3
80
P1.0
73
Output 4-bit output port (P1):
These are 4-bit output ports permitting selection of the NMOS
open drain output/CMOS output through the control register of
port 01 (P01CON).
P1.0 is a large electric current driving output port.
P1.1
74
18
Input/
Output
4-bit input/output port (P2):
These are 4-bit input/output ports permitting selection of
input/output per bit through the control registers 0 to 3 of port 2
(P20CON to P23CON), selection of the pull-up and pull-down
rsistance input/high impedance input, and selection of the
NMOS open drain output/CMOS output. As the secondary
functions, an external interrupt function is allocated.
Input/
Output
19
20
21
P4.0
26
Input/
Output
4-bit input/output port (P4):
These are 4-bit input/output ports permitting selection of the
input/output per bit through the control registers 0 to 3 of port 4
(P40CON to P43CON), selection of the pull-up and pull-down
resistance input/high impedance input, and selection of the
NMOS open drain output/CMOS output. As the secondary
functions, P4.0 to P4.3 have an external interrupt function, P4.0
to P4.2 have a serial port function, and P4.3 has a monitor
function of a CR oscillation clock for AD conversion.
P4.1
27
P4.2
28
P4.3
29
BD
30
Output This is the output pin of buzzer dirver.
RT0
33
Output This is the connecting pin for a measuring resistance sensor of
a channel 0.
CRT0
34
Output This is the connecting pin for a measuring resistance/
capacitance sensor of a channel 0.
RS0
35
Output This is the standard resistance connecting pin of a channel 0.
Buzzer
CS0
36
Output This is the standard capacitance connecting pin of a channel 0.
IN0
37
Input
RT1
41
Output
RS1
40
Output
A/D
Converter
P3.0
22
Input/
Output
4-bit input/output port (P3):
These are 4-bit input/output ports permitting selection of the
input/output per bit through the control registers 0 to 3 of port 3
(P30CON to P33CON), selection of the pull-up and pull-down
resistance input/high impedance input, and selection of the
NMOS open drain output/CMOS output. As the secondary
functions, an external interrupt funciton is allocated to P3.0 to
P3.3 and a serial port function is asigned to P3.3.
P3.1
23
P3.2
24
P3.3
25
P2.1
P2.2
P2.3
P1.2
P1.3
75
76
CS1
39
Output
IN1
38
Input
This is the oscillation input pin of a channel 0.
This is the measuring resistance sensor connecting pin of a
channel 1.
This is the standard resistance connecting pin of a channel 1.
This is the standard capacitance connecting pin of a channel 1.
This is the oscillation input pin of a channel 1.