Function esp_idf_sys::esp_lcd_new_panel_io_i2c_v1

source ·
pub unsafe extern "C" fn esp_lcd_new_panel_io_i2c_v1(
    bus: u32,
    io_config: *const esp_lcd_panel_io_i2c_config_t,
    ret_io: *mut esp_lcd_panel_io_handle_t,
) -> esp_err_t
Expand description

@brief Create LCD panel IO handle, for I2C interface in legacy implementation

@param[in] bus I2C bus handle, (in uint32_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