R01UH0136EJ0210 Rev.2.10
Page 46 of 800
Jul 31, 2012
M16C/64A Group
6. Resets
6.2.1
Processor Mode Register 0 (PM0)
Write to this register after setting the PRC1 bit in the PRCR register to 1 (write enabled).
The software reset, watchdog timer reset, oscillator stop detect reset, voltage monitor 1 reset, and
voltage monitor 2 reset have no effect on bits PM01 and PM00.
Bits PM02, PM05 to PM04, PM06, and PM07 are enabled when bits PM01 to PM00 are 01b (memory
expansion mode) or 11b (microprocessor mode).
PM03 (Software reset bit) (b3)
A software reset is generated by setting the PM03 bit to 1.
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...