lv_hal_tick.h

Provide access to the system tick with 1 millisecond resolution

Functions

uint32_t lv_tick_get(void)

Get the elapsed milliseconds since start up

Returns:

the elapsed milliseconds

uint32_t lv_tick_elaps(uint32_t prev_tick)

Get the elapsed milliseconds since a previous time stamp

Parameters:

prev_tick -- a previous time stamp (return value of lv_tick_get() )

Returns:

the elapsed milliseconds since 'prev_tick'