CHAPTER 12 PORT FUNCTIONS
User’s Manual U12688EJ4V0UM00
385
(2) Input/output mode/control mode setting
Port 6 input/output mode setting is performed by means of the port 6 mode register (PM6), 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 6 mode register (PM6)
This register can be read/written in 8- or 1-bit units.
Address
FFFFF02CH
7
PM67
PM6
6
PM66
5
PM65
4
PM64
3
PM63
2
PM62
1
PM61
0
PM60
After reset
FFH
Bit Position
Bit Name
Function
7 to 0
PM6n (n = 7 to 0)
Port Mode
Sets P6n in input/output mode.
0: Output mode (output buffer ON)
1: Input mode (output buffer OFF)
(b) Operation mode of port 6
Bit of MM Register
Operation Mode
MM3
MM2
MM1
MM0
P60
P61
P62
P63
P64
P65
P66
P67
0
0
0
0
0
1
0
1
0
0
1
1
Port (P60 to P67)
1
0
0
P62
P63
1
0
1
P64
P65
1
1
0
P66
P67
don’t
care
1
1
1
A16
A17
A18
A19
A20
A21
A22
A23
For the details of mode selection by the MODE0 to MODE3 pins, refer to 3.3.2 Operating mode
specification.
In ROM-less modes 0 or 1, or single-chip mode 1, the MM0 to MM3 bits are initialized to 111
×
at system
reset, enabling the external expansion mode. External expansion can be disabled by programming the
MM0 to MM3 bits and setting the port mode.
Remark
×
: don’t care
Summary of Contents for V850E/MS1 UPD703100
Page 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Page 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Page 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Page 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Page 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Page 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Page 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Page 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Page 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...