Renesas M16C/26A Series Hardware Manual page 60

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
System clock control register 1 (1)
b7
b6
b5
b4
b3
b2
b1
0 0
0
NOTES:
1. Write to this register after setting the PRC0 bit in the PRCR register to "1" (write enable).
2. When entering stop mode from high or middle speed mode, or when the CM05 bit is set to "1" (main clock turned off) in low
speed mode, the CM15 bit is set to "1" (drive capability high).
3. Effective when the CM06 bit is "0" (CM16 and CM17 bits enable).
4. If the CM10 bit is "1" (stop mode), X
are placed in the 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".
5. After setting the PLC07 bit in the PLC0 register to "1" (PLL operation), wait until Tsu (PLL) elapses before setting the CM11 bit
to "1" (PLL clock).
6. When the PM21 bit in the PM2 register is set to "1" (clock modification disable), writing to the CM10, CM011 bits has no effect.
When the PM22 bit in the PM2 register is set to "1" (watchdog timer count source is on-chip oscillator clock), writing to the CM10
bit has no effect.
7. Effective when CM07 bit is "0" and CM21 bit is "0" .
Figure 7.3. CM1 Register
On-chip Oscillator Control Register
b7
b6
b5
b4
b3
0
0 0
NOTE:
1. Write to this register after setting the PRC0 bit in the PRCR register to 1 (write enable).
Figure 7.4. ROCR Register
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
6
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
b0
Symbol
CM1
Bit symbol
Bit name
All clock stop control bit
CM10
(4, 6)
System clock select bit 1
CM11
(6, 7)
Reserved bit
(b4-b2)
X
-X
drive capacity
IN
OUT
CM15
select bit (2)
Main clock division
CM16
select bits (3)
CM17
goes "H" and the internal feedback resistor is disconnected. The X
OUT
b2
b1
b0
Symbol
ROCR
Bit Symbol
Frequency select bits
ROCR0
ROCR1
Divider select bits
ROCR2
ROCR3
(b6-b4)
Nothing is assigned. When write, set to 0. When read, its
(b7)
content is undefined
page 41
f o
3
2
9
6
C
2 /
6
) T
Address
After reset
0007
00100000
16
2
0 : Clock on
1 : All clocks off (stop mode)
0 : Main clock
1 : PLL clock (5)
"0"
Must set to
0 : LOW
1 : HIGH
b7 b6
0 0 : No division mode
0 1 : Division by 2 mode
1 0 : Division by 4 mode
1 1 : Division by 16 mode
(1)
Address
025C
16
Bit Name
b1 b0
0 0: f
0 1: f
1 0: Do not set to this value
1 1: f
0 0: Do not set to this value
0 1: divide by 2
1 0: divide by 4
1 1: divide by 8
Set to 0
Reserved bit
7. Clock Generation Circuit
Function
and X
CIN
After Reset
X0000101
2
Function
(ROC)
1
(ROC)
2
(ROC)
3
b3 b2
RW
RW
RW
RW
RW
RW
RW
pins
COUT
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents