
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
146
4.3.9
Port CM
Port CM 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
4-bit I/O port
V850ES/SA3
6-bit I/O port
(1) Functions of port CM
Input/output data can be specified in 1-bit units by using port register CM (PCM).
Can be set to the input or output mode in 1-bit units by using port mode register CM (PMCM).
Can be set to the port mode or control mode (alternate function) in 1-bit units by using port mode control
register CM (PMCCM).
Port CM has an alternate function as the following pins.
Table 4-13. Alternate-Function Pins of Port CM
Pin Name
Alternate-Function Pin
I/O
PULL
Note 1
Remark
PCM0
WAIT
PCM1
CLKOUT
PCM2
HLDAK
PCM3
HLDRQ
PCM4
Note 2
Port CM
PCM5
Note 2
I/O
None
Notes 1. Software pull-up function
2. V850ES/SA3 only