R_RTC_Set_ConstPeriodInterruptOn
|
Sets the cycle of the periodic interrupts, then starts the periodic interrupt function.
[Syntax]
#include "r_cg_macrodriver.h"
#include "r_cg_rtc.h"
MD_STATUS R_RTC_Set_ConstPeriodInterruptOn ( rtc_int_period_t period );
|
[Argument(s)]
|
|
|
|
rtc_int_period_t period;
|
Interrupt INTRTC cycle
QUARTERSEC: 0.25 seconds
HALFSEC: 0.5 seconds
ONESEC: 1 second
ONEMIN: 1 minute
ONEHOUR: 1 hour
ONEDAY: 1 day
ONEMONTH: 1 month
|
[Return value]
|
|
MD_OK
|
Normal completion
|
MD_ARGERROR
|
Invalid argument specification
|