/* param base LDO SNVS DIG peripheral base address. param mode Used to control LDO power mode, please refer to pmu_ldo_operate_mode_t.  */
void PMU_SnvsDigLdoInit(ANADIG_LDO_SNVS_DIG_Type *base, pmu_ldo_operate_mode_t mode)
/* param base LDO SNVS DIG peripheral base address. param mode Used to control LDO power mode, please refer to pmu_ldo_operate_mode_t.  */
void PMU_SnvsDigLdoInit(ANADIG_LDO_SNVS_DIG_Type *base, pmu_ldo_operate_mode_t mode)
{
    uint32_t temp32 = base->PMU_LDO_SNVS_DIG;
    temp32 &= ~(ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_LP_EN_MASK);
    temp32 |= (ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_LP_EN(mode) | ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_EN_MASK);
    base->PMU_LDO_SNVS_DIG = temp32;
}