User’s Manual U13850EJ4V0UM
375
CHAPTER 14 PORT FUNCTION
14.1 Port Configuration
The V850/SB1 and V850/SB2 include 83 I/O port pins from ports 0 to 11 (12 ports are input only).
There are three power supplies for the I/O buffers; AV
DD
, BV
DD
, and EV
DD
, which are described below.
Table 14-1. Pin I/O Buffer Power Supplies
Power Supply
Corresponding Pins
Usable Voltage Range
AV
DD
Port 7, port 8
4.5 V
≤
AV
DD
≤
5.5 V
BV
DD
Port 4, port 5, port 6, port 9, CLKOUT
3.0 V
≤
BV
DD
≤
5.5 V
EV
DD
Port 0, port 1, port 2, port 3, port 10, port 11, RESET
3.0 V
≤
EV
DD
≤
5.5 V
Caution The electrical specifications in the case of 3.0 V to up to 4.0 V are different from those
for 4.0 V to 5.5 V.
14.2 Port Pin Function
14.2.1 Port 0
Port 0 is an 8-bit I/O port for which I/O settings can be controlled in 1-bit units.
A pull-up resistor can be connected in 1-bit units (software pull-up function).
When using P00 to P04 as the NMI or INTP0 to INTP3 pins, noise is eliminated by the analog noise eliminator.
When using P05 to P07 as the INTP4/ADTRG, INTP5/RTPTRG, and INTP6 pins, noise is eliminated by the digital
noise eliminator.
Figure 14-1. Format of Port 0 (P0)
After reset:
00H
R/W
Address: FFFFF000H
7
6
5
4
3
2
1
0
P0
P07
P06
P05
P04
P03
P02
P01
P00
P0n
Control of output data (in output mode) (n = 0, 1)
0
Outputs 0
1
Outputs 1
Remark
In input mode:
When the P0 register is read, the pin levels at that time are read. Writing to P0 writes
the values to that register. This does not affect the input pins.
In output mode: When the P0 register is read, the P0 register’s values are read. Writing to P0 writes
the values to that register, and those values are immediately output.
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...