/* param base SNVS peripheral base address param datetime Pointer to the structure where the alarm date and time details are stored.  */
void SNVS_HP_RTC_GetAlarm(SNVS_Type *base, snvs_hp_rtc_datetime_t *datetime)
/* param base SNVS peripheral base address param datetime Pointer to the structure where the alarm date and time details are stored.  */
void SNVS_HP_RTC_GetAlarm(SNVS_Type *base, snvs_hp_rtc_datetime_t *datetime)
{
    assert(datetime);
    uint32_t alarmSeconds = 0U;
    alarmSeconds = (base->HPTAMR << 17U) | (base->HPTALR >> 15U);
    SNVS_HP_ConvertSecondsToDatetime(alarmSeconds, datetime);
}