[riot-notifications] [RIOT] drivers/spi: updated SPI driver interface (#3216)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications