pub unsafe extern "C" fn esp_lcd_panel_io_register_event_callbacks(
io: esp_lcd_panel_io_handle_t,
cbs: *const esp_lcd_panel_io_callbacks_t,
user_ctx: *mut c_void,
) -> esp_err_t
Expand description
@brief Register LCD panel IO callbacks
@param[in] io LCD panel IO handle, which is created by factory API like esp_lcd_new_panel_io_spi()
@param[in] cbs structure with all LCD panel IO callbacks
@param[in] user_ctx User private data, passed directly to callback’s user_ctx
@return
- ESP_ERR_INVALID_ARG if parameter is invalid
- ESP_OK on success