Please note that the Chinese and Japanese versions are currently being updated and are not yet complete. Stay tuned for the final versions!
dwm_wake_up
防止系统在低功耗模式下进入睡眠模式. 此函数只能在线程上下文中调用. 另请参阅 dwm_sleep.
C代码示例
/* 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 示例
这些接口不可用.