CHAPTER 4 PORT FUNCTIONS
4.3.4 Port 4
Port 4 can control input/output in 1-bit units.
The V850ES/KF1, V850ES/KG1, and V850ES/KJ1 have the same number of I/O port pins for port 4.
Product
V850ES/KF1
V850ES/KG1
V850ES/KJ1
I/O Port Pin Count
3-bit I/O port
3-bit I/O port
3-bit I/O port
(1) Port 4 functions
{ Port input/output data can be specified in 1-bit units.
Specification is made by the port 4 register (P4).
{ Port input/output can be specified in 1-bit units.
Specification is made by the port 4 mode register (PM4).
{ Port mode/control mode (alternate function) can be specified in 1-bit units.
Specification is made by the port 4 mode control register (PMC4).
{ N-ch open-drain can be specified in 1-bit units.
Specification is made by the port 4 function register (PF4).
{ On-chip pull-up resistor connection can be specified in 1-bit units.
Specification is made by pull-up resistor option register 4 (PU4).
Port 4 includes the following alternate functions.
Table 4-9. Alternate-Function Pins of Port 4
Pin Name
P40
Alternate Function
SI00
I/O
PULLNote
Yes
Remark
Port 4
I/O
–
P41
P42
SO00
N-ch open-drain output can be selected.
SCK00
Note Software pull-up function
User’s Manual U15862EJ3V0UD
165