Hardware access layer for managing the REGULATORS peripheral.
More...
Hardware access layer for managing the REGULATORS peripheral.
| __STATIC_INLINE void nrf_regulators_dcdcen_set |
( |
NRF_REGULATORS_Type * |
p_reg, |
|
|
bool |
enable |
|
) |
| |
Function for enabling or disabling DCDC converter.
- Parameters
-
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | enable | Set 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_reg | Pointer to the structure of registers of the peripheral. |