Renesas M16C FAMILY series Hardware Manual page 69

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
Peripheral Clock Select Register
b7
b6
b5
b4
b3
0 0 0
0 0 0
NOTE:
1. Write to this register after setting the PRC0 bit in the PRCR register to "1" (write enable).
Processeor Mode Register 2
b7
b6
b5
b4
NOTES:
1. Write to this register after setting the PRC1 bit in the PRCR register to "1" (write enable).
2. The PM20 bit become effective when PLC07 bit in the PLC0 register is set to "1" (PLL on). Change the PM20 bit
when the PLC07 bit is set to "0" (PLL off). Set the PM20 bit to "0" (2 waits) when PLL clock > 16 MHz.
3. Once this bit is set to "1", it cannot be set to "0" by program.
4. Writing to the following bits has no effect when the PM21 bit is set to "1":
CM02 bit in the CM0 register
CM05 bit in the CM0 register (main clock is not halted)
CM07 bit in the CM0 register (CPU clock source does not change)
CM10 bit in the CM1 register (stop mode is not entered)
CM11 bit in the CM1 register (CPU clock source does not change)
CM20 bit in the CM2 register (oscillation stop, re-oscillation detection function settings do not change)
All bits in the PLC0 register (PLL frequency synthesizer setting do not change)
When the PM21 bit is set to "1", do not execute the WAIT instruction.
5. Setting the PM22 bit to "1" results in the following conditions:
- The on-chip oscillator continues oscillating even if the CM21 bit in the CM2 register is set to "0" (main clock or
PLL clock) (system clock of count source selected by the CM21 bit is valid)
- The on-chip oscillator starts oscillating, and the on-chip oscillator clock becomes the watchdog timer count
source.
- The CM10 bit in the CM1 register is disabled against write. (Writing a "1" has no effect, nor is stop mode
entered)
- The watchdog timer does not stop in wait mode.
6. For NMI function, the PM24 bit must be set to "1"(NMI function). Once this bit is set to "1", it cannot be cleared to
"0" by program.
7. SD input is valid regardless of the PM24 setting.
Figure 7.6 PCLKR Register and PM2 Register
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
(1)
b2
b1
b0
Symbol
PCLKR
Bit Symbol
Timers A, B clock select bit
(Clock source for Timers A,
PCLK0
B, Timer S, the dead time
timer, SI/O3, SI/O4,multi-
master I 2 C bus)
SI/O clock select bit (Clock
source for UART0 to
PCLK1
UART2)
Reserved bit
(b7-b2)
(1)
b3
b2
b1
b0
Symbol
0
PM2
Bit Symbol
Specifying wait when
accessing SFR during PLL
PM20
operation
PM21
System clock protective bit
WDT count source
PM22
protective bit
Reserved bit
(b3)
P85/NMI configuration bit
PM24
Nothing is assigned. When write, set to"0".
(b7-b5)
When read,its content is indeterminate
page 49
f o
3
8
5
Address
After Reset
025E
00000011
16
Bit Name
0: f
2
1: f
1
0: f
2SIO
1: f
1SIO
Set to "0"
Address
After Reset
001E
XXX00000
16
Bit Name
0: 2 wait
1: 1 wait
(2)
0: Clock is protected by PRCR
(3,4)
register
1: Clock modification disabled
0: CPU clock is used for the
watchdog timer count source
1: On-chip oscillator clock is used
(3,5)
for the watchdog timer count
source
Set to "0"
0: P8
function (NMI disable)
5
(6,7)
1: NMI function
7. Clock Generation Circuit
2
Function
RW
RW
RW
RW
2
Function
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents