CHAPTER 4 PORT FUNCTIONS
Preliminary User’s Manual U15905EJ1V0UD
132
4.3.7
Port 9
Port 9 can be set to the input or output mode in 1-bit units.
The number of I/O port bits each product is the same.
Commercial Name
Number of I/O Port Bits
V850ES/SA2
16-bit I/O port
V850ES/SA3
16-bit I/O port
(1) Functions of port 9
Input/output data can be specified in 1-bit units by using port register 9 (P9).
Can be set to the input or output mode in 1-bit units by using port mode register 9 (PM9).
Can be set to the port mode or control mode (alternate function) in 1-bit units by using port mode control
register 9 (PMC9).
N-ch open-drain output can be set in 1-bit units by using port function register 9 (PF9).
Control mode 1 or control mode 2 can be specified in 1-bit units by using port function control register 9
(PFC9).
The internal pull-up resistor can be connected in 1-bit units by using pull-up resistor option register 9 (PU9).
The valid edge of the external interrupt (alternate function) can be set in 1-bit units by using external
interrupt falling edge specification register 9 (INTF9) and external interrupt rising edge specification register
9 (INTR9).
Port 9 has an alternate function as the following pins.
Table 4-10. Alternate-Function Pins of Port 9
Pin Name
Alternate-Function Pin
I/O
PULL
Note
Remark
P90
A0
P91
A1
P92
A2/INTP5
P93
A3/INTP6
P94
A4/TO2
P95
A5/TO3
P96
A6/TO4
P97
A7/TO5
P98
A8/RXD1
P99
A9/TXD1
P910
A10/SI2
P911
A11/SO2
P912
A12/SCK2
P913
A13/SI3
P914
A14/SO3
Port 9
P915
A15/SCK3
I/O
None
−
Note
Software pull-up function
Содержание V850ES/SA2 UPD703201
Страница 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Страница 284: ... 4 6 7 6 7 8 9 9 6 Note 1 Note 2 0 0 9 9 6 1 1 0 1 9 0 0 0 6 7 0 0 0 0 0 0 0 1 1 1 0 0 0 0 3 1 6 7 6 7 ...
Страница 285: ... 6 7 ...
Страница 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...