[riot-notifications] [RIOT-OS/RIOT] sys/arduino: Added SPI interface (#12118)
notifications at github.com
Sun Sep 8 10:16:34 CEST 2019
maribu commented on this pull request.
> + settings.mode, settings.clock);
+ /* No support for exceptions (at least on AVR), resort to assert() */
+ assert(retval == SPI_OK);
+void SPIClass::transfer(void *buf, size_t count)
+ spi_transfer_bytes(spi_dev, SPI_CS_UNDEF, false, buf, buf, count);
+#if defined(SPI_NUMOF) && (SPI_NUMOF >= 1)
Yes, indeed. On ATmega it is defined to the literal `1` and worked there therefore
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications