CHAPTER 12 PORT FUNCTIONS
User’s Manual U12688EJ4V0UM00
374
12.3.3 Port 2
Port 2 is an 8-bit input/output port that can be set to input or output in 1-bit units. However, P20 always operates
as an NMI input if the edge is input.
Address
FFFFF004H
7
P27
P2
6
P26
5
P25
4
P24
3
P23
2
P22
1
P21
0
P20
After reset
Undefined
Bit Position
Bit Name
Function
7 to 1
P2n (n = 7 to 1)
Port 2
Input/output port
0
P20
Fix to NMI input mode.
In addition to their function as port pins, the port 2 pins can also operate as serial interface (UART0/CSI0,
UART1/CSI1) inputs/outputs in the control mode. Note that pin P21 does not have an alternate function and operates
only in the port mode.
(1) Operation in control mode
Port
Control Mode
Remark
Block Type
P20
NMI
Non-maskable interrupt request
input
I
P21
—
Fixed to port mode
J
P22
TXD0/SO0
Q
P23
RXD0/SI0
D
P24
SCK0
C
P25
TXD1/SO1
Q
P26
RXD1/SI1
D
Port 2
P27
SCK1
Input/output for serial interface
(UART0/CSI0, UART1/CSI1)
C
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...