Function esp_idf_svc::hal::sys::esp_lcd_new_panel_io_spi

source ยท
pub unsafe extern "C" fn esp_lcd_new_panel_io_spi(
    bus: *mut c_void,
    io_config: *const esp_lcd_panel_io_spi_config_t,
    ret_io: *mut *mut esp_lcd_panel_io_t,
) -> i32
Expand description

@brief Create LCD panel IO handle, for SPI interface

@param[in] bus SPI bus handle @param[in] io_config IO configuration, for SPI interface @param[out] ret_io Returned IO handle @return - ESP_ERR_INVALID_ARG if parameter is invalid - ESP_ERR_NO_MEM if out of memory - ESP_OK on success