mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
48 lines
790 B
C
48 lines
790 B
C
/**
|
|
* @file lv_api_map.h
|
|
*
|
|
*/
|
|
|
|
#ifndef LV_API_MAP_H
|
|
#define LV_API_MAP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*********************
|
|
* INCLUDES
|
|
*********************/
|
|
#include "../lvgl.h"
|
|
|
|
/*********************
|
|
* DEFINES
|
|
*********************/
|
|
|
|
#define LV_NO_TASK_READY LV_NO_TIMER_READY
|
|
#define LV_INDEV_STATE_REL LV_INDEV_STATE_RELEASED
|
|
#define LV_INDEV_STATE_PR LV_INDEV_STATE_PRESSED
|
|
|
|
/**********************
|
|
* TYPEDEFS
|
|
**********************/
|
|
|
|
/**********************
|
|
* GLOBAL PROTOTYPES
|
|
**********************/
|
|
|
|
static inline LV_ATTRIBUTE_TIMER_HANDLER uint32_t lv_task_handler(void)
|
|
{
|
|
return lv_timer_handler();
|
|
}
|
|
|
|
/**********************
|
|
* MACROS
|
|
**********************/
|
|
|
|
#ifdef __cplusplus
|
|
} /*extern "C"*/
|
|
#endif
|
|
|
|
#endif /*LV_API_MAP_H*/
|