Searched refs:pofcon (Results 1 – 2 of 2) sorted by relevance
271 uint32_t pofcon = p_reg->POFCON; in nrf_regulators_pofcon_set() local272 pofcon &= ~(REGULATORS_POFCON_THRESHOLD_Msk | REGULATORS_POFCON_POF_Msk); in nrf_regulators_pofcon_set()273 pofcon |= in nrf_regulators_pofcon_set()283 p_reg->POFCON = pofcon; in nrf_regulators_pofcon_set()291 uint32_t pofcon = p_reg->POFCON; in nrf_regulators_pofcon_get() local294 (*p_enabled) = ((pofcon & REGULATORS_POFCON_POF_Msk) >> REGULATORS_POFCON_POF_Pos) in nrf_regulators_pofcon_get()297 return (nrf_regulators_pof_thr_t)((pofcon & REGULATORS_POFCON_THRESHOLD_Msk) >> in nrf_regulators_pofcon_get()306 uint32_t pofcon = p_reg->POFCON; in nrf_regulators_pofcon_vddh_set() local307 pofcon &= ~REGULATORS_POFCON_THRESHOLDVDDH_Msk; in nrf_regulators_pofcon_vddh_set()308 pofcon |= (((uint32_t)thr) << REGULATORS_POFCON_THRESHOLDVDDH_Pos); in nrf_regulators_pofcon_vddh_set()[all …]
1010 uint32_t pofcon = p_reg->POFCON; in nrf_power_pofcon_set() local1011 pofcon &= ~(POWER_POFCON_THRESHOLD_Msk | POWER_POFCON_POF_Msk); in nrf_power_pofcon_set()1012 pofcon |= in nrf_power_pofcon_set()1022 p_reg->POFCON = pofcon; in nrf_power_pofcon_set()1029 uint32_t pofcon = p_reg->POFCON; in nrf_power_pofcon_get() local1032 (*p_enabled) = ((pofcon & POWER_POFCON_POF_Msk) >> POWER_POFCON_POF_Pos) in nrf_power_pofcon_get()1035 return (nrf_power_pof_thr_t)((pofcon & POWER_POFCON_THRESHOLD_Msk) >> in nrf_power_pofcon_get()1045 uint32_t pofcon = p_reg->POFCON; in nrf_power_pofcon_vddh_set() local1046 pofcon &= ~POWER_POFCON_THRESHOLDVDDH_Msk; in nrf_power_pofcon_vddh_set()1047 pofcon |= (((uint32_t)thr) << POWER_POFCON_THRESHOLDVDDH_Pos); in nrf_power_pofcon_vddh_set()[all …]