Registers; Processor Mode Register 0 (Pm0) - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group
10.2

Registers

Table 10.3
Registers
Address
0004h
Processor Mode Register 0
0005h
Processor Mode Register 1
0010h
Program 2 Area Control Register
10.2.1

Processor Mode Register 0 (PM0)

Processor Mode Register 0
b7 b6 b5 b4
b3
b2
b1
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)
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Register
b0
Symbol
PM0
Bit Symbol
Bit Name
PM00
Processor mode bit
PM01
PM02
R/W mode select bit
PM03
Software reset bit
PM04
Multiplexed bus space select
bit
PM05
Port P4_0 to P4_3 function
PM06
select bit
PM07
BCLK output disable bit
Symbol
PM0
PM1
PRG2C
Address
0004h
b1
b0
0
0 : Single-chip mode
0
1 : Memory expansion mode
1
0 : Do not set
1
1 : Microprocessor mode
0 : RD, BHE, WR
1 : RD, WRH, WRL
Setting this bit to 1 resets the MCU.
When read, the read value is 0.
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
0 : Address output
1 : Port function (address is not output)
0 : BCLK is output
1 : BCLK is not output
(pin becomes high-impedance)
10. Processor Mode
Reset Value
0000 0000b (CNVSS pin is low)
0000 0011b (CNVSS pin is high)
0000 1000b
XXXX XX00b
Reset Value
0000 0000b (CNVSS pin is low)
0000 0011b (CNVSS pin is high)
Function
Page 132 of 807
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents