RL78/G1P
CHAPTER 7 CLOCK OUTPUT/BUZZER OUTPUT CONTROLLER
R01UH0895EJ0100 Rev.1.00
230
Nov 29, 2019
Figure 7-2. Format of Clock Output Select Register n (CKSn)
Address: FFFA5H (CKS0), FFFA6H (CKS1) After reset: 00H R/W
Symbol
<7>
6 5 4 3 2 1 0
CKSn
PCLOEn
0 0 0 0
CCSn2
CCSn1
CCSn0
PCLOEn
PCLBUZn pin output enable/disable specification
0
Output disable (default)
1
Output
enable
CCSn2
CCSn1
CCSn0
PCLBUZn pin output clock selection
f
MAIN
=
5 MHz
f
MAIN
=
10 MHz
f
MAIN
=
20 MHz
f
MAIN
=
32 MHz
0
0
0
f
MAIN
5 MHz
Setting
prohibited
Note
Setting
prohibited
Note
Setting
prohibited
Note
0
0
1
f
MAIN
/2
2.5 MHz
5 MHz
Setting
prohibited
Note
Setting
prohibited
Note
0
1
0
f
MAIN
/2
2
1.25 MHz
2.5 MHz
5 MHz
8 MHz
Note
0
1
1
f
MAIN
/2
3
625 kHz
1.25 MHz
2.5 MHz
4 MHz
1
0
0
f
MAIN
/2
4
312.5 kHz
625 kHz
1.25 MHz
2 MHz
1
0
1
f
MAIN
/2
11
2.44 kHz
4.88 kHz
9.76 kHz
15.63 kHz
1
1
0
f
MAIN
/2
12
1.22 kHz
2.44 kHz
4.88 kHz
7.81 kHz
1
1
1
f
MAIN
/2
13
610 Hz
1.22 kHz
2.44 kHz
3.91 kHz
Note
Use the output clock within a range of 8 MHz. See
27.4 AC Characteristics
for details.
Cautions 1. Change the output clock after disabling clock output (PCLOEn = 0).
2. To shift to STOP mode when the main system clock is selected (CSELn = 0), set PCLOEn = 0
before executing the STOP instruction.
Remarks 1.
n = 0, 1
2.
f
MAIN
: Main system clock frequency