R_RTC_Set_CalendarAlarmValue


Sets the alarm conditions (year, month, weekday, day, hour, minute, second).(in the case of the calendar mode setting)

[Syntax]

#include    "r_cg_macrodriver.h"
#include    "r_cg_rtc.h"
void    R_RTC_Set_CalendarAlarmValue ( rtc_alarm_value_t alarm_val );

Remark

See R_RTC_Set_AlarmValue for details about rtc_alarm_value_t (alarm conditions).

[Argument(s)]

I/O

Argument

Description

I

rtc_alarm_value_t alarm_val;

Alarm conditions (second, minute, hour, weekday, day, month, year)

[Return value]

None.