Hardware access layer for managing the Startup Voltage Regulator (VREGSU). More...
Enumerations | |
enum | nrf_vregsu_dft_atb1_selmux_t { NRF_VREGSU_DFT_ATB1_SELMUX_SPARE0 = VREGSU_DFT_ATB1CONFIG_SELMUX_Spare0 , NRF_VREGSU_DFT_ATB1_SELMUX_VFB_1V2 = VREGSU_DFT_ATB1CONFIG_SELMUX_VFB1V2 } |
Select multiplexer for ATB1. More... | |
Functions | |
NRF_STATIC_INLINE void | nrf_vregsu_pwrup_ctrl_set (NRF_VREGSU_Type *p_reg, bool enable) |
Function for powering up the volatage regulator. | |
NRF_STATIC_INLINE bool | nrf_vregsu_pwrup_ctrl_get (NRF_VREGSU_Type const *p_reg) |
Function for getting the volatage regulator power up state. | |
NRF_STATIC_INLINE void | nrf_vregsu_dft_atb1_config_set (NRF_VREGSU_Type *p_reg, nrf_vregsu_dft_atb1_selmux_t selmux, bool enable) |
Function for configuring Analog Test Bus 1 (ATB1). | |
Hardware access layer for managing the Startup Voltage Regulator (VREGSU).
NRF_STATIC_INLINE void nrf_vregsu_dft_atb1_config_set | ( | NRF_VREGSU_Type * | p_reg, |
nrf_vregsu_dft_atb1_selmux_t | selmux, | ||
bool | enable | ||
) |
Function for configuring Analog Test Bus 1 (ATB1).
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | selmux | Multiplexer configuration. |
[in] | enable | True to enable test bus. |
NRF_STATIC_INLINE bool nrf_vregsu_pwrup_ctrl_get | ( | NRF_VREGSU_Type const * | p_reg | ) |
Function for getting the volatage regulator power up state.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
NRF_STATIC_INLINE void nrf_vregsu_pwrup_ctrl_set | ( | NRF_VREGSU_Type * | p_reg, |
bool | enable | ||
) |
Function for powering up the volatage regulator.
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | enable | True if the voltage regulator is to be powered up, false otherwise. |