EasyGUI  Version v1.0
Low-level layer

Low-level layer for LCD support. More...

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

Low-level layer for LCD support.

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
[in]paramOptional data included in command
[out]resultResult from command
Returns
1 on success, 0 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
1 on success, 0 otherwise