APPLICATION
NOTE
R01AN2831EJ0100 Rev. 1.00
Page 1 of 51
May 28, 2015
RL78/G13
Clock Generator (Clock Switching) CC-RL
Introduction
This application note explains how to use the clock generator of the RL78/G13.
The clock from the clock generator is switched when a switch is pressed. The clock generator uses the high-speed
on-chip oscillator clock, (32 MHz), X1 oscillation clock (20 MHz), or XT1 oscillation clock (32.768 kHz) as the
CPU/peripheral hardware clock (f
CLK
).
Target Device
RL78/G13 (40 pins or more)
When applying the sample program covered in this application note to another microcomputer, modify the program
according to the specifications for the target microcomputer and conduct an extensive evaluation of the modified
program.
R01AN2831EJ0100
Rev. 1.00
May 28, 2015