「App:Library:LVGL:docs:Porting:Task Handler」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動 (ページの作成:「https://docs.lvgl.io/8.2/porting/task-handler.html __NOTOC__ {| class="wikitable" !英文 !自動翻訳 |- | | |- | | |- | | |- | | |- | | |- | | |- | | |- | | |} ---…」) |
|||
| 30行目: | 30行目: | ||
|} | |} | ||
| + | |||
| + | |||
| + | = Task Handler = | ||
| + | To handle the tasks of LVGL you need to call <code>lv_timer_handler()</code> periodically in one of the following: | ||
| + | |||
| + | * ''while(1)'' of ''main()'' function | ||
| + | * timer interrupt periodically (lower priority than <code>lv_tick_inc()</code>) | ||
| + | * an OS task periodically | ||
| + | |||
| + | The timing is not critical but it should be about 5 milliseconds to keep the system responsive. | ||
2022年6月22日 (水) 14:24時点における版
https://docs.lvgl.io/8.2/porting/task-handler.html
| 英文 | 自動翻訳 |
|---|---|
Task Handler
To handle the tasks of LVGL you need to call lv_timer_handler() periodically in one of the following:
- while(1) of main() function
- timer interrupt periodically (lower priority than
lv_tick_inc()) - an OS task periodically
The timing is not critical but it should be about 5 milliseconds to keep the system responsive.