
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15905EJ2V1UD
157
4.3.11 Port CT
Port CT 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 CT
Input/output data can be specified in 1-bit units by using port register CT (PCT).
Can be set to the input or output mode in 1-bit units by using port mode register CT (PMCT).
Can be set to the port mode or control mode (alternate function) in 1-bit units by using port mode control
register CT (PMCCT).
Table 4-15. Alternate-Function Pins of Port CT
Pin Name
Alternate-Function Pin
I/O
PULL
Note 1
Remark
PCT0
WR0
PCT1
WR1
PCT2
Note 2
PCT3
Note 2
PCT4
RD
PCT5
PCT6
ASTB
Port CT
PCT7
I/O
None
Notes 1. Software pull-up function
2. V850ES/SA3 only