Function esp_idf_svc::hal::sys::esp_lcd_new_panel_io_i2c_v2
source · pub unsafe extern "C" fn esp_lcd_new_panel_io_i2c_v2(
bus: *mut i2c_master_bus_t,
io_config: *const esp_lcd_panel_io_i2c_config_t,
ret_io: *mut *mut esp_lcd_panel_io_t,
) -> i32
Expand description
@brief Create LCD panel IO handle, for I2C interface in new implementation
@param[in] bus I2C bus handle, (in i2c_master_dev_handle_t) @param[in] io_config IO configuration, for I2C interface @param[out] ret_io Returned IO handle
@note Please don’t call this function in your project directly. Please call esp_lcd_new_panel_to_i2c
instead.
@return - ESP_ERR_INVALID_ARG if parameter is invalid - ESP_ERR_NO_MEM if out of memory - ESP_OK on success