374
User’s Manual U11969EJ3V0UM00
CHAPTER 12 PORT FUNCTION
(2) Setting input/output mode and control mode
The input/output mode of port 13 is set by port mode register 13 (PM13). The control mode is set by port mode
control register 13 (PMC13).
Port 13 mode register (PM13)
This register can be read/written in 8- or 1-bit units.
Bit Position
Bit Name
Function
7 to 0
PM13n
Port Mode
(n = 7 to 0)
Sets P13n pin in input/output mode.
0: Output mode (output buffer ON)
1: Input mode (output buffer OFF)
Port 13 mode control register (PMC13)
This register can be read/written in 8- or 1-bit units.
Bit Position
Bit Name
Function
7 to 0
PMC13n
Port Mode Control
(n = 7 to 0)
Sets P13n pin in input/output mode.
0: I/O port mode
1: RTPn output mode
Caution
When each bit is set to 1, the output buffer of the corresponding port is turned on,
regardless of the contents of the PM13 register, and the contents of the RTP register are
output. Therefore, initialize the contents of the RTP register before setting each bit to 1.
Address
FFFFF03AH
7
PM137
PM13
6
PM136
5
PM135
4
PM134
3
PM133
2
PM132
1
PM131
0
PM130
After reset
FFH
Address
FFFFF05AH
7
PMC137
PMC13
6
PMC136
5
PMC135
4
PMC134
3
PMC133
2
PMC132
1
PMC131
0
PMC130
After reset
00H
Содержание 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 ...