[][src]Function mraa_sys::mraa_spi_frequency

pub unsafe extern "C" fn mraa_spi_frequency(
    dev: mraa_spi_context,
    hz: c_int
) -> mraa_result_t

Set the SPI device operating clock frequency.

@param dev the Spi context @param hz the frequency in hz @return Result of operation