|
libnds
|
SPI bus controller ARM7 helpers. More...
Functions | |
| u8 | spiExchange (u8 value) |
| Does an exchange in the SPI bus (sends a value while a value is received). | |
| u8 | spiRead (void) |
| Reads a value from the SPI bus (by doing an exchange and sending a 0). | |
| void | spiWaitBusy (void) |
| Wait until the SPI bus is available. | |
| void | spiWrite (u8 value) |
| Writes a value to the SPI bus. | |
SPI bus controller ARM7 helpers.
Does an exchange in the SPI bus (sends a value while a value is received).
| value | Value to write to the SPI bus. |
| u8 spiRead | ( | void | ) |
Reads a value from the SPI bus (by doing an exchange and sending a 0).
| void spiWrite | ( | u8 | value | ) |
Writes a value to the SPI bus.
| value | Value to write to the SPI bus. |