R_RTC_Get_CalendarAlarmValue


Reads 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_Get_CalendarAlarmValue ( rtc_alarm_value_t * const alarm_val );

Remark

See R_RTC_Set_AlarmValue for details about rtc_alarm_value_t (alarm conditions).

[Argument(s)]

I/O

Argument

Description

O

rtc_alarm_value_t
  * const alarm_val;

Pointer to structure in which to store the conditions being read

[Return value]

None.