CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ4V0UM
404
14.2.9 Port 10
Port 10 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).
The pins in this port are selectable as normal outputs or N-ch open-drain outputs.
When using P100 to P107 as KR0 to KR7 pins, noise is eliminated by the analog noise eliminator.
Figure 14-36. Port 10 (P10)
After reset:
00H
R/W
Address: FFFFF014H
7
6
5
4
3
2
1
0
P10
P107
P106
P105
P104
P103
P102
P101
P100
P10n
Control of output data (in output mode) (n = 0 to 7)
0
Outputs 0
1
Outputs 1
Remark
In input mode:
When the P10 register is read, the pin levels at that time are read. Writing to P10
writes the values to that register. This does not affect the input pins.
In output mode: When the P10 register is read, the P10 register’s values are read. Writing to P10
writes the values to that register, and those values are immediately output.
Port 10 includes the following alternate functions. IERX and IETX pins are valid only for the V850/SB2.
Table 14-10. Port 10 Alternate Function Pins
Pin Name
Alternate Function
I/O
PULL
Note
Remark
Port 10
P100
RTP0/A5/KR0
I/O
Yes
Selectable as N-ch open-drain outputs
P101
RTP1/A6/KR1
Analog noise elimination
P102
RTP2/A7/KR2
P103
RTP3/A8/KR3
P104
RTP4/A9/KR4/IERX
P105
RTP5/A10/KR5/IETX
P106
RTP6/A11/KR6
P107
RTP7/A12/KR7
Note
Software pull-up function
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...