EasyGUI  Version v1.0
Low-level layer

Functions

uint8_t gui_ll_init (GUI_LCD_t *LCD, GUI_LL_t *LL)
 Initialize LCD low-level display driver. More...
 
uint8_t gui_ll_control (GUI_LCD_t *LCD, GUI_LL_Command_t cmd, void *param, void *result)
 Send command to for LCD from GUI. More...
 

Detailed Description

Function Documentation

◆ gui_ll_control()

uint8_t gui_ll_control ( GUI_LCD_t LCD,
GUI_LL_Command_t  cmd,
void *  param,
void *  result 
)

Send command to for LCD from GUI.

Parameters
[in,out]LCDPointer to GUI_LCD_t structure with LCD properties
[in]cmdCommand to be executed. This parameter can be a value of GUI_LL_Command_t enumeration
[in]paramOptional data included in command. Check GUI_LL_Command_t enumeration what is used for each command
[out]resultResult from command
Returns
0 on success, non-zero otherwise

◆ gui_ll_init()

uint8_t gui_ll_init ( GUI_LCD_t LCD,
GUI_LL_t LL 
)

Initialize LCD low-level display driver.

  • Set up width and height
  • Set up number of layers for drawing
  • Set up drawing functions
Parameters
[in,out]LCDPointer to GUI_LCD_t structure for LCD properties
[in,out]LLPointer to GUI_LL_t structure with drawing functions
Returns
0 on success, non-zero otherwise