R8C/13 Group
6. Clock Generating Circuit
High-speed on-chip oscillator control register 0(3)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
HR0
Address
000816
After reset
0016
0
0
0
0
0
0
0
Bit symbol
HR00
Bit name
Function
RW
RW
High-speed on-chip
oscillator enable bit
0: High-speed on-chip oscillator off
1: High-speed on-chip oscillator on
0: Low-speed on-chip oscillator selected(2)
1: High-speed on-chip oscillator selected
High-speed on-chip
oscillator select bit(1)
RW
RW
HR01
Reserved bit
Set to “0”
(b7-b2)
NOTES:
1. The HR01 bit should be changed under the following conditions.
• HR00 = 1 (high-speed on-chip oscillator on)
• CM1 register CM14 bit = 0 (low-speed on-chip oscillator on)
2. When writing “0”(low-speed on-chip oscillator selected) to the HR01 bit, do not write “0”(high-speed on-chip oscillator stops) to
the HR00 bit simultaneously. Set the HR00 bit to “0” after setting the HR01 bit to “0”.
3. Set the PRC0 bit in the PRCR register to “1” (write enable) before rewriting this register.
High-speed on-chip oscillator control register 1(1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
HR1
Address
000B16
After reset
4016
0
Function
RW
RW
✕
The frequency of high-speed on-chip oscillator is adjusted with bits 0 to bits 6.
Period of high-speed on-chip oscillator
= td(HR offset) + (64 ✕ b6 + 32 ✕ b5 + 16 ✕✕b4 + 8 ✕✕b3 + 4 ✕✕b2 + 2 ✕✕b1 + b0) ✕ td(HR)
Bit 7 should be set to “0”.
NOTES:
1. Set the PRC0 bit in the PRCR register to “1” (write enable) before rewriting this register.
Figure 6.4 HR0 Register and HR1 Register
Rev.1.20 Jan 27, 2006 page 33 of 205
REJ09B0111-0120