M16C/62P Group (M16C/62P, M16C/62PT)
7. Processor Mode
Rev.2.41
Jan 10, 2006
Page 57 of 390
REJ09B0185-0241
Figure 7.2
PM1 Register
Processor Mode Register 1
(1)
Symbol
Address
After Reset
PM1
0005h
0X001000b
Bit Symbol
Bit Name
Function
RW
NOTES :
1.
2.
3.
4.
5.
6.
7.
Address 04000h to 07FFFh are reserved
Address 80000h to CFFFFh are reserved
(Memory expansion mode)
The entire area is usable
Access Area
External
RAM
ROM
Internal
Up to Addresses 00400h to 03FFFh (15 Kbytes)
Up to Addresses D0000h to FFFFFh (192 Kbytes)
Address 04000h to 07FFFh are usable
Address 80000h to CFFFFh are usable
PM13=0
PM13=1
The entire area is usable
PM12 bit is set to “1” by w riting a “1” in a program (w riting a “0” has no effect).
When PM17 bit is set to “1” (w ith w ait state), one w ait state is inserted w hen accessing the internal RAM, or
internal ROM.
When PM17 bit is set to “1” and accesses an external area, set the CSiW bit in the CSR register (i=0 to 3) to “0”
(w ith w ait state).
The PM13 bit is automatically set to “1” w hen the FMR01 bit in the FMR0 register is “1” (CPU rew rite mode).
The access area is changed by the PM13 bit as listed in the table below .
RW
PM11
RW
PM13
RW
Memory Area Expansion Bit
(3)
Port P3_7 to P3_4 Function Select
Bit
(3)
Internal Reserved Area Expansion
Bit
(6)
0 : Address output
1 : Port function
(NOTE 7)
0 : No w ait state
1 : With w ait state (1 w ait)
Reserved Bit
Wait Bit
(5)
PM15
b5 b4
0 0 : 1-Mbyte mode (Do not expand)
0 1 : Do not set
1 0 : Do not set
1 1 : 4-Mbyte mode
b3 b2 b1 b0
b7 b6 b5 b4
0
PM10
RW
PM12
Watchdog Timer Function Select Bit
0 : Watchdog timer interrupt
1 : Watchdog timer reset
(4)
RW
CS2 Area Sw itch Bit
(Data Block Enable Bit)
(2)
0 : 08000h to 26FFFh (Block A disable)
1 : 10000h to 26FFFh (Block A enable)
Set the PM10 bit to “0” for Mask ROM version. For flash memory version, the PM10 bit controls w hether Block A is
enabled or disabled. When the PM10 bit is set to “1”, 0F000h to 0FFFFh can be used as internal ROM area.
In addition, the PM10 bit is automatically set to “1” w hile the FMR01 bit in the FMR0 register is set to “1” (CPU
rew rite mode).
Effective w hen the PM01 to PM00 bits are set to “01b” (memory expansion mode) or “11b” (microprocessor
mode).
Write to this register after setting the PRC1 bit in the PRCR register to “1” (w rite enable).
PM14
RW
PM17
RW
—
(b6)
RW
Set to “0”.
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655