English
Language : 

M16C26 Datasheet, PDF (32/239 Pages) Renesas Technology Corp – 16-BIT CMOS SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Udenvdeelropment
Preliminary Specifications Rev. 0.9
Specifications in this manual are tentative
Processor Mode
and
subject to change.
SINGLE-CHIP 16-BIT
M16C/26 Group
CMOS MICROCOMPUTER
Processor mode register 2 (Note 1)
b7 b6 b5 b4 b3 b2 b1 b0
0 00 00
Symbol
PM2
Address
001E16
When reset
XXX000002
Bit symbol
Bit name
Function
RW
PM20
Specifying wait when
accessing SFR registers
(Note 2)
0 : 2 waits
1 : 1 wait
PM21
System clock protective bit
(Notes 3,4)
0 : Clock is protected by PRCR
register
1 : Clock modification disabled
PM22
WDT count source
protective bit (Notes 3,5)
0 : CPU clock is used for the
watchdog timer count source
1 : Ring oscillator clock is used
for the watchdog timer count
source
Reserved bit
Must always be set to "0"
PM24
P85/NMI configuration bit 0: P85 function (NMI disable)
(Notes 3,6,7)
1: NMI function
Nothing is assigned.
Writes must set each bit to "0". Read values are indeterminate.
Note 1: Set bit 1 of the protect register (address 000A16) to "1" before writing new values
to this register.
Note 2: When the system clock is 16Mhz and more, must set to 2 waits.
Note 3: This bit cannot be changed from "1" to "0" in software.
Note 4: Setting PM21 to "1" results in the following:
• BCLK is not halted by WAIT instruction.
• Writing to the following bits has no effect:
CM02, of register CM0
CM05, of register CM0 (main clock is not halted)
CM07, of register CM0 (CPU clock source does not change)
CM10, of register CM1 (stop mode is not entered)
CM20, of register CM2 (oscillation stop, re-oscillation detection function settings
do not change)
Note 5: Setting PM22 to "1" results in the following:
• The ring oscillator starts oscillating, and the ring oscillator clock becomes the
watchdog timer count source.
• Writing to CM10 disabled (stop mode is not entered).
• Watchdog timer does not stop when in wait mode or hold state.
Note 6: For NMI function, this bit must be set to "1" in first instruction after reset.
Note 7: When this bit is set to "1", the P85 direction register must be "0".
Figure 1.7.2. Processor mode register 2
Software Reset
Writing “1” to bit 3 of the processor mode register 0 (address 000416) applies a (software) reset to the
microcomputer. A software reset has the same effect as a hardware reset except the contents of internal
RAM are preserved after a software reset.
Note: Before attempting to change the contents of the processor mode register 0, set bit 1 of the protect
register (address 000A16) to “1”.
26
Renesas Technology Corp.