dwm_wake_up

Prevents the system from entering sleep mode if it is in low-power mode. This function should only be called from within a thread context. See also dwm_sleep.

C code example

/* THREAD 1: sleep and block*/
dwm_sleep();
/*do something*/
...
/*THREAD 2: wait until event */
dwm_evt_wait(&evt);
/*unblock dwm_sleep()*/
dwm_wake_up();

SPI/UART example

Not available on these interfaces.