CHAPTER 12 PORT FUNCTIONS
User’s Manual U12688EJ4V0UM00
403
12.3.14 Port A
Port A is an 8-bit input/output port that can be set to input or output in 1-bit units.
Address
FFFFF01CH
7
PA7
PA
6
PA6
5
PA5
4
PA4
3
PA3
2
PA2
1
PA1
0
PA0
After reset
Undefined
Bit Position
Bit Name
Function
7 to 0
PAn (n = 7 to 0)
Port A
Input/output port
In addition to their function as port pins, the port A pins can also operate in the control mode (external expansion
mode) as an address bus used when memory is expanded externally.
(1) Operation in control mode
Port
Control Mode
Remark
Block Type
Port A
PA0 to PA7
A0 to A7
Address bus in memory expansion
F
(2) Input/output mode/control mode setting
Port A input/output mode setting is performed by means of the port A mode register (PMA), and control mode
(external expansion mode) setting is performed by means of the mode specification pins (MODE0 to MODE3)
and the memory expansion mode register (MM: refer to 3.4.6 (1)).
(a) Port A mode register (PMA)
This register can be read/written in 8- or 1-bit units.
Address
FFFFF03CH
7
PMA7
PMA
6
PMA6
5
PMA5
4
PMA4
3
PMA3
2
PMA2
1
PMA1
0
PMA0
After reset
FFH
Bit Position
Bit Name
Function
7 to 0
PMAn
(n = 7 to 0)
Port Mode
Sets PAn pin in input/output mode.
0: Output mode (output buffer ON)
1: Input mode (output buffer OFF)
Содержание 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 ...