EasyManuals Logo
Home>Renesas>Computer Hardware>RL78/G13

Renesas RL78/G13 Operation

Renesas RL78/G13
54 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #13 background imageLoading...
Page #13 background image
RL78/G13 Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00 Page 13 of 51
May 28, 2015
5.5 List of Variables
Table 5.4 lists the global variables that are used in this sample program.
Table 5.4 Global Variable
Type Variable Name Contents Function Used
uint8_t g_ClockStatus Clock status main()
r_intc0_interrupt
uint8_t
g_TAU0_Channel0_C
lkdiv
Frequency division ratio of channel 0 of
TAU0
main()
R_TAU0_Channel0_Get
Parameter()
uint16_t
g_TAU0_Channel0_C
ount
Counter value of channel 0 of TAU0 main()
R_TAU0_Channel0_Get
Parameter()
uint8_t g_SwitchStatus Switch status main()
r_intc0_interrupt
5.6 List of Functions
Table 5.5 lists the functions that are used in this sample program.
Table 5.5 Functions
Function Name Outline
R_INTC0_Start Sets start of INTP0 external interrupt processing.
R_TAU0_Channel0_Start Sets start of channel 0 of TAU0.
R_CGC_ChangeClock Switches clocks.
R_CGC_HOCOToX1 Switches from HOCO clock to X1 oscillation clock.
R_CGC_X1ToXT1 Switches from X1 oscillation clock to XT1 oscillation clock.
R_CGC_XT1ToHOCO Switches from XT1 oscillation clock to HOCO clock.
R_CGC_GetClockStatus Gets clock status.
R_CGC_Get_X1_Status Gets X1 oscillation clock status.
R_CGC_Get_XT1_Status Gets XT1 oscillation clock status.
R_CGC_Get_HOCO_Status Gets HOCO clock status.
R_CGC_StopClock Stops clock.
R_TAU0_Channel0_GetParameter Gets parameters of channel 0 of TAU0.
R_TAU0_Channel0_Restart Restarts channel 0 of TAU0.
R_TAU0_Channel0_ChangeInterval Changes interval of channel 0 of TAU0.
R_TAU0_Channel0_Stop Sets stop of channel 0 of TAU0.
r_tau0_channel0_interrupt Processes an interval timer interrupt of channel 0 of TAU0.
r_intc0_interrupt Processes an INTP0 external interrupt.
R_IT_Wait_ms Waits in units of 1 ms.

Other manuals for Renesas RL78/G13

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G13 and is the answer not in the manual?

Renesas RL78/G13 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G13
CategoryComputer Hardware
LanguageEnglish

Related product manuals