1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use
super::*;
pub const LV_TICK_CUSTOM: u32 = 0;
#[lvgl_macros::safe_wrap(attr)] extern "C" {
#[doc = " You have to call this function periodically"]
#[doc = " - __`tick_period`__: the call period of this function in milliseconds"]
pub fn lv_tick_inc(tick_period: u32);
}
#[lvgl_macros::safe_wrap(attr)] extern "C" {
#[doc = " Get the elapsed milliseconds since start up"]
#[doc = " Return: the elapsed milliseconds"]
pub fn lv_tick_get() -> u32;
}
#[lvgl_macros::safe_wrap(attr)] extern "C" {
#[doc = " Get the elapsed milliseconds since a previous time stamp"]
#[doc = " - __`prev_tick`__: a previous time stamp (return value of systick_get() )"]
#[doc = " Return: the elapsed milliseconds since 'prev_tick'"]
pub fn lv_tick_elaps(prev_tick: u32) -> u32;
}