PreviousNext
AfterSleep
Help > Custom DPA Handler > Events > AfterSleep

This event is called after the device wakes up from Sleep mode. The event handler is the opposite of the BeforeSleep event handler.

 

This event is not implemented at [C].

 

Example

 

 case DpaEvent_AfterSleep:

       StartMyPeripherals();

                return Carry;

 

☼ See example code CustomDpaHandler-Timer.c, CustomDpaHandler-UserPeripheral-i2c.c for more details.