Function ctru_sys::PTMSYSM_GetWakeReason
source · pub unsafe extern "C" fn PTMSYSM_GetWakeReason(
outSleepConfig: *mut PtmSleepConfig
) -> Result
Expand description
Gets the wake reason (only the first applicable wake event is taken into account).
§Arguments
sleepConfig
- Pointer to the two sets of wake events. Only the relevant set will be filled.