ESL Tag User Defined Display Driver#

This component provides skeleton code for a user defined display driver - to be filled in with actual low level driver code for driving any arbitrary ESL Tag display type. See the Doxygen comments in the header file on usage. This is a Custom-Code component.

Functions#

sl_status_t
esl_user_display_init(int param_count,...)
sl_status_t
esl_user_display_write(int param_count,...)

Function Documentation#

esl_user_display_init#

sl_status_t esl_user_display_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 user defined display driver init function. Function naming is for reference, only - any arbitrary function naming can be used, freely. For more - and especially, different type of displays - there might be a good approach to implement more init functions, also. Then, these functions has to be assigned to the corresponding display during the esl_core_boot_event as follows:

sl_status_t void esl_core_boot_event(void)
{
 sl_status_t sc;
 esl_display_info_p info;

 sc = esl_display_create(<user_display_witdth>,
                         <user_display_height>,
                         <user_display_type>,
                         &info);
 app_assert_status(sc);

 sc = esl_display_add(info,
                      <your_init_function>,      // can be NULL if not needed
                      <your_write_function>);    // mandatory!

 app_assert_status(sc);
}

Note: please do not forget to add #include "esl_display.h", previously.


Definition at line 71 of file common/esl_tag_user_display_driver/inc/esl_tag_user_display_driver.h

esl_user_display_write#

sl_status_t esl_user_display_write (int param_count, ... , image_index)
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 user defined driver write function. See the comments at esl_user_display_init function on naming and usage.


Definition at line 82 of file common/esl_tag_user_display_driver/inc/esl_tag_user_display_driver.h