Our website is under construction. Please stay tuned!

dwm_wake_up

Prevents sleep state (if in low-power mode). It should be called only from the thread context. Wakes up dwm_sleep().

Caution

The code definition from the docs is missing; we will need to check the actual implementation again.

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