RL78/G13
Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00
Page 15 of 51
May 28, 2015
[Function Name] R_CGC_HOCOToX1
Synopsis
Switches from HOCO clock to X1 oscillation clock.
Header
#include "r_cg_macrodriver.h"
#include "r_cg_cgc.h"
#include "r_cg_userdefine.h"
Declaration
void R_CGC_HOCOToX1 (void)
Explanation
Switches the CPU/peripheral hardware clock (f
CLK
) from the HOCO clock to the X1 oscillation
clock.
Arguments
None
Return value
None
Remarks
None
[Function Name] R_CGC_X1ToXT1
Synopsis
Switches from X1 oscillation clock to XT1 oscillation clock.
Header
#include "r_cg_macrodriver.h"
#include "r_cg_cgc.h"
#include "r_cg_userdefine.h"
Declaration
void R_CGC_X1ToXT1(void)
Explanation
Switches the CPU/peripheral hardware clock (f
CLK
) from X1 oscillation clock to XT1 oscillation
clock.
Arguments
None
Return value
None
Remarks
None
[Function Name] R_CGC_XT1ToHOCO
Synopsis
Switches from XT1 oscillation clock to HOCO clock.
Header
#include "r_cg_macrodriver.h"
#include "r_cg_cgc.h"
#include "r_cg_userdefine.h"
Declaration
void R_CGC_XT1ToHOCO(void)
Explanation
Switches the CPU/peripheral hardware clock (f
CLK
) from XT1 oscillation clock to HOCO clock.
Arguments
None
Return value
None
Remarks
None