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

Hauke Petersen notifications at github.com
Tue Jun 30 10:44:57 CEST 2015


Question2: So far we have the `spi_transfer_reg(s)` convenience functions in the driver interface. By looking at their implementations and the device drivers, I actually tend to drop these. This would make the SPI interface slimmer and save two implementations per CPU, that look more or less identical on all platforms. The device driver code in turn does not become more complicated by falling back to the `spi_transfer_byte(s)` functions -> in the end we save a function call layer and save some bytes of flash.

Any opinion on dropping these two functions?

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3216#issuecomment-117058742
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150630/a8fd370b/attachment.html>


More information about the notifications mailing list