mikroSDK Reference Manual
lv_hal_tick.h
Go to the documentation of this file.
1
6
#ifndef LV_HAL_TICK_H
7
#define LV_HAL_TICK_H
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
/*********************
14
* INCLUDES
15
*********************/
16
#include "
../lv_conf_internal.h
"
17
18
#include <stdint.h>
19
#include <stdbool.h>
20
21
/*********************
22
* DEFINES
23
*********************/
24
#ifndef LV_ATTRIBUTE_TICK_INC
25
#define LV_ATTRIBUTE_TICK_INC
26
#endif
27
28
/**********************
29
* TYPEDEFS
30
**********************/
31
32
/**********************
33
* GLOBAL PROTOTYPES
34
**********************/
35
37
38
#if !LV_TICK_CUSTOM
43
LV_ATTRIBUTE_TICK_INC
void
lv_tick_inc(uint32_t tick_period);
44
#endif
45
47
52
uint32_t
lv_tick_get
(
void
);
53
59
uint32_t
lv_tick_elaps
(uint32_t prev_tick);
60
61
/**********************
62
* MACROS
63
**********************/
64
65
#ifdef __cplusplus
66
}
/*extern "C"*/
67
#endif
68
69
#endif
/*LV_HAL_TICK_H*/
lv_conf_internal.h
lv_tick_get
uint32_t lv_tick_get(void)
lv_tick_elaps
uint32_t lv_tick_elaps(uint32_t prev_tick)