CHAPTER 4 PORT FUNCTIONS
Preliminary User’s Manual U15905EJ1V0UD
130
4.3.6
Port 8
Port 8 can control input/output 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
2-bit I/O port
V850ES/SA3
2-bit I/O port
(1) Function of port 8
Input data can be specified in 1-bit units by using port register 8 (P8).
Port 8 has an alternate function as the following pins.
Table 4-9. Alternate-Function Pins of Port 8
Pin Name
Alternate-Function Pin
I/O
PULL
Note
Remark
P80
ANO0
Port 8
P81
ANO1
Input
None
−
Note
Software pull-up function
(2) Register
(a) Port register 8 (P8)
Port register 8 (P8) is an 8-bit register that is used to read the pin level.
This register is read-only, in 8-bit or 1-bit units.
0
Inputs low level.
Inputs high level.
P8n
0
1
Reads input data (n = 0 or 1)
P8
0
0
0
0
0
P81
P80
After reset: Undefined
R
Address:
FFFFF410H
Remarks 1.
If port 8 (P8) is read, the pin levels at that time can be read.
2.
After reset, an undefined value (pin input level) is read when P8 is read.
Содержание 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 ...