Function nrf_softdevice_s140::sd_power_mode_set
source · pub unsafe fn sd_power_mode_set(power_mode: u8) -> u32
Expand description
@brief Sets the power mode when in CPU sleep.
@param[in] power_mode The power mode to use when in CPU sleep, see @ref NRF_POWER_MODES. @sa sd_app_evt_wait
@retval ::NRF_SUCCESS The power mode was set. @retval ::NRF_ERROR_SOC_POWER_MODE_UNKNOWN The power mode was unknown.