362
User’s Manual U11969EJ3V0UM00
CHAPTER 12 PORT FUNCTION
(2) Setting input/output mode and control mode
The input/output mode of port 6 is set by port mode register 6 (PM6). The control mode (external expansion
mode) is set by mode specification pins MODEn and memory expansion mode register (MM: refer to 3.4.6
(1)) (n = 0 to 2).
Port 6 mode register (PM6)
This register can be read/written in 8- or 1-bit units.
Bit Position
Bit Name
Function
7 to 0
PM6n
Port Mode
(n = 7 to 0)
Sets P6n pin in input/output mode.
0: Output mode (output buffer ON)
1: Input mode (output buffer OFF)
Operation mode of port 6
Bit of MM Register
Operation Mode
MM2
MM1
MM0
P60
P61
P62
P63
P64
P65
P66
P67
0
0
0
Port
0
1
1
1
0
0
A16
A17
1
0
1
A18
A19
1
1
0
A20
A21
1
1
1
A22
A23
Others
RFU (reserved)
7
PM67
PM6
6
PM66
5
PM65
4
PM64
3
PM63
2
PM62
1
PM61
0
PM60
Address
FFFFF02CH
After reset
FFH
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...