CHAPTER 4 PORT FUNCTIONS
4.3.1 Port 0
Input/output for port 0 can be controlled in 1-bit units.
The V850ES/KF1, V850ES/KG1, and V850ES/KJ1 have the same number of I/O port pins for port 0.
Product
V850ES/KF1
V850ES/KG1
V850ES/KJ1
I/O Port Pin Count
7-bit I/O port
7-bit I/O port
7-bit I/O port
(1) Port 0 functions
{ Port input/output data can be specified in 1-bit units.
Specification is made by the port 0 register (P0).
{ Port input/output can be specified in 1-bit units.
Specification is made by the port 0 mode register (PM0).
{ Port mode/control mode (alternate function) can be specified in 1-bit units.
Specification is made by the port 0 mode control register (PMC0).
{ On-chip pull-up resistor connection can be specified in 1-bit units.
Specification is made by pull-up resistor option register 0 (PU0).
{ The valid edge of external interrupts (alternate function) can be specified in 1-bit units.
The falling edge and the rising edge of the external interrupt are specified by falling edge specification
register 0 (INTF0) and rising edge specification register 0 (INTR0), respectively.
Port 0 includes the following alternate functions.
Table 4-4. Alternate-Function Pins of Port 0
Pin Name
P00
Alternate Function
TOH0
I/O
PULLNote
Yes
Remark
Port 0
I/O
–
P01
P02
P03
P04
P05
P06
TOH1
NMI
Analog noise elimination
INTP0
INTP1
INTP2
INTP3
Note Software pull-up function
User’s Manual U15862EJ3V0UD
142