Function nrf_softdevice_s122::sd_power_gpregret_get
source · pub unsafe fn sd_power_gpregret_get(
gpregret_id: u32,
p_gpregret: *mut u32
) -> u32
Expand description
@brief Get contents of the general purpose retention registers (NRF_POWER->GPREGRET*).
@param[in] gpregret_id 0 for GPREGRET, 1 for GPREGRET2. @param[out] p_gpregret Contents of the GPREGRET register.
@retval ::NRF_SUCCESS