Function esp_idf_svc::hal::sys::esp_lcd_panel_io_register_event_callbacks
source · pub unsafe extern "C" fn esp_lcd_panel_io_register_event_callbacks(
io: *mut esp_lcd_panel_io_t,
cbs: *const esp_lcd_panel_io_callbacks_t,
user_ctx: *mut c_void,
) -> i32
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