/* return The enabled interrupts. This is the logical OR of members of the enumeration ::snvs_interrupt_enable_t  */
uint32_t SNVS_HP_RTC_GetEnabledInterrupts(SNVS_Type *base)
/* return The enabled interrupts. This is the logical OR of members of the enumeration ::snvs_interrupt_enable_t  */
uint32_t SNVS_HP_RTC_GetEnabledInterrupts(SNVS_Type *base)
{
    uint32_t val = 0U;
    if (base->HPCR & SNVS_HPCR_PI_EN_MASK)
    {
        val |= kSNVS_RTC_PeriodicInterrupt;
    }
    if (base->HPCR & SNVS_HPCR_HPTA_EN_MASK)
    {
        val |= kSNVS_RTC_AlarmInterrupt;
    }
    return val;
}