[][src]Function mraa_sys::mraa_get_spi_bus_count

pub unsafe extern "C" fn mraa_get_spi_bus_count() -> c_int

Get the number of usable SPI buses, board must be initialised.

@return number of usable SPI buses on the platform, returns -1 on failure.