/* param base RTC peripheral base address param datetime Pointer to structure where the alarm date and time details are stored.  */
void RTC_GetAlarm(RTC_Type *base, rtc_datetime_t *datetime)
/* param base RTC peripheral base address param datetime Pointer to structure where the alarm date and time details are stored.  */
void RTC_GetAlarm(RTC_Type *base, rtc_datetime_t *datetime)
{
    assert(datetime);
    uint32_t alarmSeconds = 0;
    alarmSeconds = base->MATCH;
    RTC_ConvertSecondsToDatetime(alarmSeconds, datetime);
}