CHAPTER 4 PORT FUNCTIONS
Preliminary User’s Manual U15905EJ1V0UD
97
4.3.1
Port 0
Port 0 can be set to the input or output mode in 1-bit units.
The number of I/O port bits of each product is the same.
Commercial Name
Number of I/O Port Bits
V850ES/SA2
6-bit I/O port
V850ES/SA3
6-bit I/O port
(1) Function of port 0
Input/output data can be specified in 1-bit units by using port register 0 (P0).
Can be set to the input or output mode in 1-bit units by using port mode register 0 (PM0).
Can be set to the port mode or control mode (alternate function) in 1-bit units by using port mode control
register 0 (PMC0).
An internal pull-up resistor can be connected in 1-bit units by using pull-up resistor option register 0 (PU0).
The valid edge of the external interrupt (alternate function) can be set in 1-bit units by using external
interrupt falling edge specification register 0 (INTF0) and external interrupt rising edge specification register
0 (INTR0).
Port 0 has an alternate function as the following pins
Table 4-3. Alternate-Function Pins of Port 0
Pin Name
Alternate-Function Pin
I/O
PULL
Note
Remark
P00
NMI
P01
INTP0/TI2
P02
INTP1/TI3
P03
INTP2/TI4
P04
INTP3/TI5
Port 0
P05
INTP4
I/O
Provided
−
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 ...