352
User’s Manual U11969EJ3V0UM00
CHAPTER 12 PORT FUNCTION
12.3.3 Port 2
Port 2 is an 8-bit input/output port that can be set in the input or output mode in 1-bit units. P20, however, always
operates as the NMI input when an edge is input.
Bit Position
Bit Name
Function
6 to 1
P2n
Port 2
(n = 6 to 1)
I/O port
0
P20
NMI input level
In addition to the function as a port, this port can also be used as the external interrupt request input, when placed
in the control mode.
When port 2 is accessed in 8-bit units for write, the data in the higher 1 bit is ignored. When it is accessed in 8-
bit units for read, undefined data is read.
(1) Operations in control mode
Port
Control Mode
Function in Control Mode
Block Type
Port 2
P20
NMI
Non-maskable interrupt request input
I
P21
INTP30
External interrupt request input (capture trigger input)
B
P22
ADTRG
A/D converter trigger input
P23
INTP50
External interrupt request input
P24
INTP51
P25
INTP52
P26
INTP53
7
–
P2
6
P26
5
P25
4
P24
3
P23
2
P22
1
P21
0
P20
Address
FFFFF004H
After reset
Undefined
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...