Port Group 0 - NEC V850E/Dx3 Preliminary User's Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 2
72
Downloaded from
Elcodis.com
electronic components distributor

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:
Table 2-22
Port group 0: pin functions and port types
Pin functions in different modes
Port mode
Alternative mode
(PMCnm = 0)
(PMCnm = 1)
Output mode
(PMnm = 0)
P00 (I/O)
P01 (I/O)
P02 (I/O)
P03 (I/O)
P04 (I/O)
P05 (I/O)
P06 (I/O)
P07 (I/O)
VCMPO0
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.
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.
Preliminary User's Manual U17566EE1V2UM00
On-chip
debug mode
(OCDM0 = 1)
Input mode
(PMnm = 1)
INTP0/NMI
INTP1
INTP2
INTP3
INTP4
DRST (I)
INTP5
INTP6
Pin Functions
Pin function
Port type
after reset
P00 (I)
M
P01 (I)
M
P02 (I)
M
P03 (I)
M
P04 (I)
M
P05 or
R
a
DRST (I)
P06 (I)
M
P07 (I)
M

Advertisement

Table of Contents
loading

Table of Contents