Function nrf_softdevice_s112::sd_power_gpregret_set
source · pub unsafe fn sd_power_gpregret_set(gpregret_id: u32, gpregret_msk: u32) -> u32
Expand description
@brief Set bits in the general purpose retention registers (NRF_POWER->GPREGRET*).
@param[in] gpregret_id 0 for GPREGRET, 1 for GPREGRET2. @param[in] gpregret_msk Bits to be set in the GPREGRET register.
@retval ::NRF_SUCCESS