App:Library:LVGL:docs:Porting:Task Handler
提供: robot-jp wiki
ナビゲーションに移動検索に移動https://docs.lvgl.io/8.2/porting/task-handler.html
Task Handler
英文 | 自動翻訳 |
---|---|
To handle the tasks of LVGL you need to call
The timing is not critical but it should be about 5 milliseconds to keep the system responsive. Example: while(1) {
lv_timer_handler();
my_delay_ms(5);
}
To learn more about timers visit the Timer section. |
LVGLのタスクを処理するには、次のいずれかの方法で繰り返しlv_timer_handler() を呼び出し続ける必要があります。
割込で処理するため、タイミングは重要ではありませんが、システムの応答性を維持するには約5ミリ秒毎の割込にする必要があります。 例: while (1 ) {
lv_timer_handler ();
my_delay_ms (5 );
}
タイマーの詳細については、 Timer セクションをご覧ください。 |