M16C/62P Group (M16C/62P, M16C/62PT)
10. Clock Generation Circuit
Rev.2.41
Jan 10, 2006
Page 85 of 390
REJ09B0185-0241
Figure 10.3
CM1 Register
System Clock Control Register 1
(1)
Symbol
Address
After Reset
CM1
0007h
00100000b
Bit Symbol
Bit Name
Function
RW
NOTES :
1.
2.
3.
4.
5.
6.
7.
After setting the PLC07 bit in the PLC0 register to “1” (PLL operation), w ait tsu (PLL) elapses before setting the CM11
bit to “1” (PLL clock).
When the PM21 bit in the PM2 register is set to “1” (disable clock modification), this bit remains unchanged even if
w riting to the CM10, CM11 bits.
When the PM22 bit in the PM2 register is set to “1” (on-chip oscillator clock is selected as w atchdog timer count
source), this bit remains unchanged even if w riting to the CM10 bit.
This bit is valid w hen the CM07 bit is set to “0” and the CM21 bit is set to “0”.
CM11
System Clock Select Bit 1
(6, 7)
0 : Main clock
1 : PLL clock
(5)
RW
—
(b4-b2)
Reserved Bit
Set to “0”
b3 b2 b1 b0
b7 b6 b5 b4
0 0 0
CM10
All Clock Stop Control Bit
(4, 6)
0 : Clock on
1 : All clocks off (stop mode)
RW
RW
CM15
XIN-XOUT Drive Capacity
Select Bit
(2)
0 : LOW
1 : HIGH
RW
CM17
RW
b7 b6
0 0 : No division mode
0 1 : Divide-by-2 mode
1 0 : Divide-by-4 mode
1 1 : Divide-by-16 mode
Main Clock Division Select Bit 1
(3)
CM16
RW
Rew rite this register after setting the PRC0 bit in the PRCR register to “1” (w rite enable).
When entering stop mode from high-speed or middle-speed mode, or the CM05 bit is set to “1” (main clock stops) in
low speed mode, the CM15 bit is set to “1” (drive capacity high).
This bit is valid w hen the CM06 bit is set to “0” (CM16 and CM17 bits enabled).
If the CM10 bit is set to “1” (stop mode), XOUT is held “H” and the internal feedback resistor is disconnected. The
XCIN and XCOUT pins are in high-impedance state. When the CM11 bit is set to “1” (PLL clock), or the CM20 bit in the
CM2 register is set to “1” (oscillation stop, re-oscillation detection function enabled), do not set the CM10 bit to “1”.
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655