[riot-notifications] [RIOT] drivers/spi: updated SPI driver interface (#3216)

Hauke Petersen notifications at github.com
Mon Jun 29 12:10:28 CEST 2015

@gebart: You are right, the `continue` parameter is needed (I think I overlooked that one before...). So we are at
char spi_transfer_byte(spi_t spi, spi_cs_t cs, bool continue, char data);
void spi_transfer_bytes(spi_t spi, spi_cs_t cs, bool continue, char *data, size_t len);
This goes together with the assumption, that chip select is taken care of internally inside the transfer functions. 

What do we do about locking? I think for simplicity it makes sense to keep it externally to the transfer functions...

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150629/d2d80be5/attachment.html>

More information about the notifications mailing list