Function esp_idf_svc::sys::spi_bus_get_max_transaction_len

source ยท
pub unsafe extern "C" fn spi_bus_get_max_transaction_len(
    host_id: u32,
    max_bytes: *mut usize,
) -> i32
Expand description

@brief Get max length (in bytes) of one transaction

@param host_id SPI peripheral @param[out] max_bytes Max length of one transaction, in bytes

@return - ESP_OK: On success - ESP_ERR_INVALID_ARG: Invalid argument