R01UH0092EJ0110 Rev.1.10
Page 86 of 807
Jul 31, 2012
M16C/64C Group
8. Clock Generator
8.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).
PM07 (BCLK output disable bit) (b7)
This bit is enabled in memory expansion mode and microprocessor mode. A clock with the same
frequency as the CPU clock can be output as the BCLK signal from the BCLK pin.
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 Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...