CHAPTER 4 PORT FUNCTIONS
4.3.5 Port 5
Port 5 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 5.
Product
V850ES/KF1
V850ES/KG1
V850ES/KJ1
I/O Port Pin Count
6-bit I/O port
6-bit I/O port
6-bit I/O port
(1) Port 5 functions
{ Port input/output data can be specified in 1-bit units.
Specification is made by the port 5 register (P5).
{ Port input/output can be specified in 1-bit units.
Specification is made by the port 5 mode register (PM5).
{ Port mode/control mode (alternate function) can be specified in 1-bit units.
Specification is made by the port 5 mode control register (PMC5).
{ N-ch open-drain can be specified in 1-bit units.
Specification is made by the port 5 function register (PF5).
{ Control mode 1/control mode 2 can be specified in 1-bit units.
Specification is made by the port 5 function control register (PFC5).
{ On-chip pull-up resistor connection can be specified in 1-bit units.
Specification is made by pull-up resistor option register 5 (PU5).
Port 5 includes the following alternate functions.
Table 4-10. Alternate-Function Pins of Port 5
Pin Name
P50
Alternate Function
TI011/RTP00/KR0
TI50/RTP01/KR1
I/O
PULLNote
Yes
Remark
–
Port 5
I/O
P51
P52
P53
P54
P55
TO50/RTP02/KR2
SIA0/RTP03/KR3
SOA0/RTP04/KR4
SCKA0/RTP05/KR5
N-ch open-drain output can be selected.
Note Software pull-up function
172
User’s Manual U15862EJ3V0UD