
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
162
4.3.12 Port DH
Port DH can be set to the input or output mode in 1-bit units.
The number of I/O port bits differs depending on the product.
Commercial Name
Number of I/O Port Bits
V850ES/SA2
6-bit I/O port
V850ES/SA3
8-bit I/O port
(1) Functions of port DH
Input/output data can be specified in 1-bit units by using port register DH (PDH).
Can be set to the input or output mode in 1-bit units by using port mode register DH (PMDH).
Can be set to the port mode or control mode (alternate function) in 1-bit units by using port mode control
register DH (PMCDH).
Port DH has an alternate function as the following pins.
Table 4-16. Alternate-Function Pins of Port DH
Pin Name
Alternate-Function Pin
I/O
PULL
Note 1
Remark
PDH0
A16
PDH1
A17
PDH2
A18
PDH3
A19
PDH4
A20
PDH5
A21
PDH6
Note 2
A22
Note 2
Port DH
PDH7
Note 2
A23
Note 2
I/O
None
Notes 1. Software pull-up function
2. V850ES/SA3 only