nRF5 SDK v17.1.0
Functions
REGULATORS HAL

Hardware access layer for managing the REGULATORS peripheral. More...

Functions

__STATIC_INLINE void nrf_regulators_dcdcen_set (NRF_REGULATORS_Type *p_reg, bool enable)
 Function for enabling or disabling DCDC converter. More...
 
__STATIC_INLINE void nrf_regulators_system_off (NRF_REGULATORS_Type *p_reg)
 Function for putting CPU in system OFF mode. More...
 

Detailed Description

Hardware access layer for managing the REGULATORS peripheral.

Function Documentation

__STATIC_INLINE void nrf_regulators_dcdcen_set ( NRF_REGULATORS_Type *  p_reg,
bool  enable 
)

Function for enabling or disabling DCDC converter.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]enableSet true to enable or false to disable DCDC converter.
__STATIC_INLINE void nrf_regulators_system_off ( NRF_REGULATORS_Type *  p_reg)

Function for putting CPU in system OFF mode.

This function puts the CPU into system off mode. The only way to wake up the CPU is by reset.

Note
This function never returns.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.

Documentation feedback | Developer Zone | Subscribe | Updated