writeWord method
Write word - mraa_spi_write_word
Write Two Bytes to the SPI device. Returns data received on the miso line or Mraa.generalError in case of error.
Implementation
int writeWord(MraaSpiContext dev, int data) =>
_impl.mraa_spi_write_word(dev, data);