R01UH0136EJ0210 Rev.2.10
Page 132 of 800
Jul 31, 2012
M16C/64A Group
10. Processor Mode
10.2
Registers
10.2.1
Processor Mode Register 0 (PM0)
Set the PRC1 bit in the PRCR register to 1 (write enabled) before rewriting this register.
Bits PM01 to PM00 do not change at software reset, watchdog timer reset, oscillator stop detect reset,
voltage monitor 1 reset, or voltage monitor 2 reset.
Bits PM02, PM05 to PM04, PM06, and PM07 are enabled when bits PM01 to PM00 are 01b (memory
expansion mode) or 11b (microprocessor mode).
PM01 to PM00 (Processor mode bit) (b1 to b0)
Do not rewrite bits PM01 to PM00 and PM07 to PM02 at the same time.
(Technical update number: TN-M16C-71-0105)
Table 10.3
Registers
Address
Register
Symbol
Reset Value
0000 0011b (CNVSS pin is high)
Program 2 Area Control Register
b7 b6 b5 b4
b1
b2
b3
Processor Mode Register 0
Symbol
PM0
Address
0004h
Bit Symbol
Bit Name
RW
PM00
Reset Value
0000 0000b (CNVSS pin is low)
0000 0011b (CNVSS pin is high)
RW
b0
Function
b1 b0
0 0 : Single-chip mode
0 1 : Memory expansion mode
1 0 : Do not set
1 1 : Microprocessor mode
Processor mode bit
PM01
PM02
R/W mode select bit
0 : RD, BHE, WR
1 : RD, WRH, WRL
PM03
RW
RW
RW
BCLK output disable bit
PM07
0 : BCLK is output
1 : BCLK is not output
(pin becomes high-impedance)
RW
PM06
Port P4_0 to P4_3 function
select bit
0 : Address output
1 : Port function (address is not output)
RW
PM04
Multiplexed bus space select
bit
b5 b4
0 0 : Multiplexed bus is not used
(separate bus in the entire CS space)
0 1 : Allocated to CS2 space
1 0 : Allocated to CS1 space
1 1 : Allocated to the entire CS space
PM05
RW
RW
Setting this bit to 1 resets the MCU.
When read, the read value is 0.
Software reset bit
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...