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 #32 background imageLoading...
Page #32 background image
RL78/G13 Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00 Page 32 of 51
May 28, 2015
5.8.8 Main Processing
Figure 5.9 shows the flowchart for the main processing.
Figure 5.9 Main Processing
NO
main
YES
NO
The switch status is set on
an INTP0 external interrupt
(P_INTC0_Interrupt).
R_INTC0_Start()
Start INTP0 operation
R_TAU0_Channel0_Start()
Start operation of channel 0 of TAU0
YES
Switch pressed status?
R_CGC_ChangeClock()
Change operation clock
_
R_CGC_GetClockStatus()
Get clock status
Operating on new clock?
Switch status Not pressed
Transition to HALT mode
Returned from HALT mode on
an interval timer interrupt of
channel 0 of TAU0 channel 0
(R_TAU0_Channel0_Interrupt)
or INTP0 external interrupt input
(R_INTC0_Interrupt).
Enable interrupts
1
IE
R_TAU0_Channel0_Restart()
Restart channel 0 of TAU0
R_TAU0_Channel0_GetParameter()
Get parameters of channel 0 of TAU0
R_CGC_StopClock()
Stop old clock

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