72
Chapter 2
Pin Functions
Preliminary User’s Manual U17566EE1V2UM00
2.4.4
Port group 0
• Port group 0 is an 8-bit port group. In alternative mode, it comprises pins for
the following functions:
• External interrupt (INTP0 to INTP6)
• Non-maskable interrupt (NMI)
• N-Wire debug interface reset (DRST)
• Output state of internal Voltage Comparator 0 (VCMPO0)
Port group 0 includes the following pins:
Note
1.
The setting of bit OCDM.OCDM0 applies only to pins of port type R.
2.
For configuring P00 as NMI and/or INTP0 refer also to
“Edge and Level
Detection Configuration“ on page 218
.
Table 2-22
Port group 0: pin functions and port types
Pin functions in different modes
Pin function
after reset
Port type
Port mode
(PMCnm = 0)
Alternative mode
(PMCnm = 1)
On-chip
debug mode
(OCDM0 = 1)
Output mode
(PMnm = 0)
Input mode
(PMnm = 1)
P00 (I/O)
–
INTP0/NMI
–
P00 (I)
M
P01 (I/O)
–
INTP1
–
P01 (I)
M
P02 (I/O)
–
INTP2
–
P02 (I)
M
P03 (I/O)
–
INTP3
–
P03 (I)
M
P04 (I/O)
–
INTP4
–
P04 (I)
M
P05 (I/O)
–
–
DRST (I)
P05 or
DRST (I)
a
R
P06 (I/O)
–
INTP5
–
P06 (I)
M
P07 (I/O)
VCMPO0
INTP6
–
P07 (I)
M
a)
The pin function after reset depends on the reset source, that means on bit OCDM.OCDM0. Re-
fer to
“OCDM - On-chip debug mode register“ on page 45
and to the
“On-Chip Debug Unit“ on
page 877
.
electronic components distributor