[][src]Function mraa_sys::mraa_spi_write_word

pub unsafe extern "C" fn mraa_spi_write_word(
    dev: mraa_spi_context,
    data: u16
) -> c_int

Write Two Bytes to the SPI device.

@param dev The Spi context @param data Data to send @return Data received on the miso line