ESL Tag WSTK LCD driver#

This component is an example of a low level driver implementation for the LCD memory display mounted on the WSTK Developer Board, to be used with an ESL Tag Display component. PLEASE NOTE that this driver automatically registers the WSTK LCD screen as the first display on the ESL Tag!

Functions#

sl_status_t
esl_wstk_lcd_init(int param_count,...)
sl_status_t
esl_wstk_lcd_write(int param_count,...)
void
esl_wstk_lcd_bt_on_event(sl_bt_msg_t *evt)

Function Documentation#

esl_wstk_lcd_init#

sl_status_t esl_wstk_lcd_init (int param_count,...)
Parameters
[in]param_count

Number of parameters following (mandatory, equals to 'ESL_DISPLAY_INIT_FUNC_PARAMETERS_COUNT' defined by esl_tag_display component.

[in]

uint8_t type of the display index

ESL Tag display driver init function. ESL display component will call this during the initialization of application. This call is hidden and happens automatically on Bluetooth sl_bt_evt_system_boot_id event.


Definition at line 48 of file common/esl_tag_wstk_lcd_driver/inc/esl_tag_wstk_lcd_driver.h

esl_wstk_lcd_write#

sl_status_t esl_wstk_lcd_write (int param_count,...)
Parameters
[in]param_count

Number of parameters following (mandatory, equals to 'ESL_DISPLAY_WRITE_FUNC_PARAMETERS_COUNT' defined by esl_tag_display component.

[in]

uint8_t type of the display index

[in]image_index

uint8_t type of the image index

ESL Tag display driver write function.


Definition at line 58 of file common/esl_tag_wstk_lcd_driver/inc/esl_tag_wstk_lcd_driver.h

esl_wstk_lcd_bt_on_event#

void esl_wstk_lcd_bt_on_event (sl_bt_msg_t *evt)
Parameters
[in]evt

Event coming from the Bluetooth stack.

ESL WSTK LCD driver's bluetooth stack event handler. This one runs by the user implementation (usually in app.c) in parallel. Adds the WSTK display as the very first display, and initializes it silently.


Definition at line 66 of file common/esl_tag_wstk_lcd_driver/inc/esl_tag_wstk_lcd_driver.h

esl_wstk_lcd_is_logo

bool esl_wstk_lcd_is_logo (void)
Parameters
N/A

Definition at line 74 of file common/esl_tag_wstk_lcd_driver/inc/esl_tag_wstk_lcd_driver.h

esl_tag_wstk_lcd_run_qrcode#

sl_status_t esl_tag_wstk_lcd_run_qrcode (void)
Parameters
N/A

Definition at line 83 of file common/esl_tag_wstk_lcd_driver/inc/esl_tag_wstk_lcd_driver.h