/* return The status flags. This is the logical OR of members of the enumeration ::snvs_status_flags_t  */
uint32_t SNVS_HP_RTC_GetStatusFlags(SNVS_Type *base)
/* return The status flags. This is the logical OR of members of the enumeration ::snvs_status_flags_t  */
uint32_t SNVS_HP_RTC_GetStatusFlags(SNVS_Type *base)
{
    uint32_t flags = 0U;
    if (base->HPSR & SNVS_HPSR_PI_MASK)
    {
        flags |= kSNVS_RTC_PeriodicInterruptFlag;
    }
    if (base->HPSR & SNVS_HPSR_HPTA_MASK)
    {
        flags |= kSNVS_RTC_AlarmInterruptFlag;
    }
    return flags;
}