Datasheet

M16C/62P Group (M16C/62P, M16C/62PT) 1. Overview
Rev.2.41 Jan 10, 2006 Page 29 of 96
REJ03B0001-0241
I : Input O : Output I/O : Input and output
NOTES:
1. There is no external connections for port P1, P4_4 to P4_7, P7_2 to P7_5 and P9_1 in 80-pin version. Set the
direction bits in these ports to “1” (output mode), and set the output data to “0” (“L”) using the program.
Table 1.21 Pin Description (80-pin Version) (2)
Signal Name Pin Name I/O
Type
Power
Supply
(1)
Description
Reference
voltage input
VREF I VCC1 Applies the reference voltage for the A/D converter and D/A
converter.
A/D converter AN0 to AN7,
AN0_0 to
AN0_7,
AN2_0 to
AN2_7
I VCC1 Analog input pins for the A/D converter.
ADTRG
I VCC1 This is an A/D trigger input pin.
ANEX0 I/O VCC1 This is the extended analog input pin for the A/D converter, and is
the output in external op-amp connection mode.
ANEX1 I VCC1 This is the extended analog input pin for the A/D converter.
D/A converter DA0, DA1 O VCC1 This is the output pin for the D/A converter.
I/O port
(1)
P0_0 to P0_7,
P2_0 to P2_7,
P3_0 to P3_7,
P5_0 to P5_7,
P6_0 to P6_7,
P10_0 to
P10_7
I/O VCC1 8-bit I/O ports in CMOS, having a direction register to select an
input or output.
Each pin is set as an input port or output port. An input port can
be set for a pull-up or for no pull-up in 4-bit unit by program.
P8_0 to P8_4,
P8_6, P8_7,
P9_0,
P9_2 to P9_7
I/O VCC1 I/O ports having equivalent functions to P0.
P4_0 to P4_3,
P7_0, P7_1,
P7_6, P7_7
I/O VCC1 I/O ports having equivalent functions to P0.
(however, output of P7_0 and P7_1 for the N-channel open drain
output.)
Input port P8_5 I
VCC1 Input pin for the NMI
interrupt.
Pin states can be read by the P8_5 bit in the P8 register.