「App:Library:LVGL:docs:Porting:Task Handler」の版間の差分

提供: robot-jp wiki
ナビゲーションに移動検索に移動
12行目: 12行目:
  
 
= Task Handler =
 
= Task Handler =
 +
{| class="wikitable"
 +
!英文
 +
!自動翻訳
 +
|-
 +
|
 
To handle the tasks of LVGL you need to call <code style="color: #bb0000;">lv_timer_handler()</code> periodically in one of the following:
 
To handle the tasks of LVGL you need to call <code style="color: #bb0000;">lv_timer_handler()</code> periodically in one of the following:
  
28行目: 33行目:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
To learn more about timers visit the [https://docs.lvgl.io/8.2/overview/timer.html '''Timer'''] section.
 
To learn more about timers visit the [https://docs.lvgl.io/8.2/overview/timer.html '''Timer'''] section.
----
+
|
[[App:Library:LVGL:docs:Porting|戻る : Previous]]
+
|}
 +
:[[App:Library:LVGL:docs:Porting|戻る : Previous]]

2022年6月22日 (水) 14:27時点における版

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.

Example:

 while(1) {
   lv_timer_handler();
   my_delay_ms(5);
 } 

To learn more about timers visit the Timer section.

戻る : Previous