EasyGUI  v0.1
Platform independent GUI Library
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

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
Return values
1Command has been processed
0Command has not been processed
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
    Return values
    0Initialization successful
    1Initialization failed