nrf-softdevice-s112

Crates

0.1.2

Versions

default

Flavors

Function 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