EasyManua.ls Logo

Renesas RL78/G13 - Page 20

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 20 of 70
Feb. 27, 2012
[Function Name] R_RTC_Stop
Synopsis
Stops the real-time clock.
Header
r_cg_macrodriver.h
r_cg_rtc.h
r_cg_userdefine.h
Declaration
void R_RTC_Stop(void)
Explanation
This function stops the real-time clock and masks real-time clock interrupts.
Arguments None
Return value None
Remarks
None
[Function Name] R_RTC_Set_ConstPeriodInterruptOn
Synopsis
Starts real-time clock fixed-frequency interrupts.
Header
r_cg_macrodriver.h
r_cg_rtc.h
r_cg_userdefine.h
Declaration
MD_STATUS R_RTC_Set_ConstPeriodInterruptOn(enum RTCINTPeriod period)
Explanation
This function sets the interrupt INTRTC occurrence frequency and then starts fixed-frequency
interrupts.
Arguments
period
Period between fixed-frequency interrupts
HALFSEC: 0.5 second x (f
SUB
/f
IL
)
ONESEC: 1 second (f
SUB
/f
IL
)
ONEMIN: 1 minute (f
SUB
/f
IL
)
ONEHOUR: 1 hour (f
SUB
/f
IL
)
ONEDAY: 1 day (f
SUB
/f
IL
)
ONEMONTH: 1 year (f
SUB
/f
IL
)
Return value
Normal end: MD_OK (0x00)
Argument specification error: MD_ARGERROR (0x01)
Remarks
None
[Function Name] R_RTC_Set_ConstPeriodInterruptOff
Synopsis
Stops real-time clock fixed-frequency interrupts.
Header
r_cg_macrodriver.h,
r_cg_rtc.h,
r_cg_userdefine.h
Declaration
void R_RTC_Set_ConstPeriodInterruptOff(void)
Explanation
This function stops fixed-frequency interrupts.
Arguments None
Return value None
Remarks None

Table of Contents

Other manuals for Renesas RL78/G13

Related product manuals