EasyManua.ls Logo

Renesas RL78/G13 - Page 18

Renesas RL78/G13
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G13 Safety Function (Frequency Detection)
R01AN0956EJ0100 Rev. 1.00 Page 18 of 70
Feb. 27, 2012
[Function Name] R_Main_fCLK_Change
Synopsis
Changes the count clock.
Header
r_cg_macrodriver.h
r_cg_cgc.h
r_cg_port.h
r_cg_intc.h
r_cg_timer.h
r_cg_rtc.h
r_cg_it.h
r_cg_userdefine.h
Declaration
void R_Main_fCLK_Change(void)
Explanation
This function stops channel 5 of TAU0. Then, it changes the HOCO clock which is a count
clock for TAU0.
Arguments
None
Return value None
Remarks
None
[Function Name] R_Main_HOCO_Change
Synopsis
Changes the HOCO clock.
Header
r_cg_macrodriver.h
r_cg_cgc.h
r_cg_port.h
r_cg_intc.h
r_cg_timer.h
r_cg_rtc.h
r_cg_it.h
r_cg_userdefine.h
Declaration
void R_Main_HOCO_Change(uint8_t clock)
Explanation
This function changes the HOCO clock to the clock set by TAU0_COUNT_CLOCK_1 or the
clock set by TAU0_COUNT_CLOCK_2. These constants are listed in Table 5.3.
Argume
nts
clock
TAU0_COUNT_CLOCK1 or TAU0_COUNT_CLOCK2
0x00: 32 MHz
0x01: 16 MHz
0x02: 8 MHz
0x03: 4 MHz
0x04: 2 MHz
0x05: 1 MHz
Return value None
Remarks
None

Table of Contents

Other manuals for Renesas RL78/G13

Related product manuals