pub unsafe extern "C" fn spi_bus_get_max_transaction_len(
    host_id: spi_host_device_t,
    max_bytes: *mut usize
) -> esp_err_t
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