Loading...
Searching...
No Matches
lvgl_riot_conf.h File Reference

Definitions specific to RIOT for the LVGL engine. More...

Detailed Description

Definitions specific to RIOT for the LVGL engine.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file lvgl_riot_conf.h.

#include "kernel_defines.h"
#include "board.h"
+ Include dependency graph for lvgl_riot_conf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define LV_HOR_RES_MAX   (320)
 Maximal horizontal resolution to support by the library.
 
#define LV_VER_RES_MAX   (240)
 Maximal vertical resolution to support by the library.
 
#define LV_ATTRIBUTE_MEM_ALIGN   __attribute__((aligned(4)))
 Added to memories with alignment requirement.
 
#define LV_TICK_CUSTOM   1
 use a custom tick implementation
 
#define LV_TICK_CUSTOM_INCLUDE   "ztimer.h"
 Header for the sys time function.
 
#define LV_TICK_CUSTOM_SYS_TIME_EXPR   (ztimer_now(ZTIMER_MSEC))
 Expression evaluating to current systime in ms.
 
typedef int16_t lv_coord_t
 Type of coordinates.
 

Macro Definition Documentation

◆ LV_ATTRIBUTE_MEM_ALIGN

#define LV_ATTRIBUTE_MEM_ALIGN   __attribute__((aligned(4)))

Added to memories with alignment requirement.

With -Os data might not be aligned to a boundary by default.

Definition at line 50 of file lvgl_riot_conf.h.

◆ LV_HOR_RES_MAX

#define LV_HOR_RES_MAX   (320)

Maximal horizontal resolution to support by the library.

Definition at line 33 of file lvgl_riot_conf.h.

◆ LV_TICK_CUSTOM

#define LV_TICK_CUSTOM   1

use a custom tick implementation

Definition at line 58 of file lvgl_riot_conf.h.

◆ LV_TICK_CUSTOM_INCLUDE

#define LV_TICK_CUSTOM_INCLUDE   "ztimer.h"

Header for the sys time function.

Definition at line 59 of file lvgl_riot_conf.h.

◆ LV_TICK_CUSTOM_SYS_TIME_EXPR

#define LV_TICK_CUSTOM_SYS_TIME_EXPR   (ztimer_now(ZTIMER_MSEC))

Expression evaluating to current systime in ms.

Definition at line 62 of file lvgl_riot_conf.h.

◆ LV_VER_RES_MAX

#define LV_VER_RES_MAX   (240)

Maximal vertical resolution to support by the library.

Definition at line 42 of file lvgl_riot_conf.h.

Typedef Documentation

◆ lv_coord_t

typedef int16_t lv_coord_t

Type of coordinates.

Should be int16_t (or int32_t for extreme cases).

Definition at line 56 of file lvgl_riot_conf.h.