Processor Mode Register 1 (Pm1) - Renesas M16C/64A Series User Manual

Table of Contents

Advertisement

M16C/64A Group
10.2.2

Processor Mode Register 1 (PM1)

Processor Mode Register 1
b7
b6 b5 b4
b3
b2
b1
0
Set the PRC1 bit in the PRCR register to 1 (write enabled) before rewriting this register.
The PM12 bit becomes 1 by a program. Setting it to 0 has no effect.
Bits PM11, PM15 to PM14 are enabled when bits PM01 to PM00 are 01b (memory expansion mode) or
11b (microprocessor mode).
PM10 (CS2 area switch bit (data flash enable bit)) (b0)
This bit is used to select the function of addresses 0E000h to 0FFFFh. Table 10.4 lists Data Flash
(Addresses 0E000h to 0FFFFh).
Table 10.4
Data Flash (Addresses 0E000h to 0FFFFh)
PM10 Bit in PM1 Register
Processor Mode
Data flash includes block A (addresses 0E000h to 0EFFFh) and block B (addresses 0F000h to
0FFFFh). When data flash is selected by the setting of the PM10 bit, both block A and block B can be
used.
The PM10 bit automatically becomes 1 while the FMR01 bit in the FMR0 register is 1 (CPU rewrite
mode).
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
b0
Symbol
PM1
Bit Symbol
Bit Name
CS2 area switch bit
PM10
(data flash enable bit)
Port P3_7 to P3_4 function
PM11
select bit
Watchdog timer function select
PM12
bit
Internal area expansion bit 0
PM13
PM14
Memory area expansion bit
PM15
Reserved bit
(b6)
PM17
Wait bit
Single-chip mode
Memory expansion mode
Microprocessor mode
Address
0005h
0 : CS2 (0E000h to 0FFFFh )
1 : Data flash (0E000h to 0FFFFh)
0 : Address output
1 : Port function
0 : Watchdog timer interrupt
1 : Watchdog timer reset
Refer to the bit explanation below "PM13
(Internal Area Expansion Bit 0) (b3)"
b5
b4
0
0 : 1-MB mode (no expansion)
0
1 : Do not set
1
0 : Do not set
4-MB mode
1
1 :
Set to 0
0 : No wait state
1 : Wait state (1 wait)
Reserved area
External area
External area
10. Processor Mode
Reset Value
0000 1000b
Function
0
Data flash
Data flash
Reserved area
Page 133 of 800
RW
RW
RW
RW
RW
RW
RW
RW
RW
1

Advertisement

Table of Contents
loading

Table of Contents