pub unsafe extern "C" fn PTMSYSM_SetWakeEvents(
    sleepConfig: *const PtmSleepConfig
) -> Result
Expand description

Sets the wake events (two sets: when to fully wake up and when to return to sleep).

§Arguments

  • sleepConfig - Pointer to the two sets of wake events.

Note: Can only be called just before acknowledging PTMNOTIFID_GOING_TO_SLEEP or PTMNOTIFID_HALF_AWAKE.