Function nrf_softdevice_s140::sd_power_dcdc0_mode_set
source · pub unsafe fn sd_power_dcdc0_mode_set(dcdc_mode: u8) -> u32
Expand description
@brief Enable or disable the DC/DC regulator for the regulator stage 0 (REG0).
For more details on the REG0 stage, please see product specification.
@param[in] dcdc_mode The mode of the DCDC0, see @ref NRF_POWER_DCDC_MODES.
@retval ::NRF_SUCCESS @retval ::NRF_ERROR_INVALID_PARAM The dcdc_mode is invalid.