stepRocker Open Source TMCL
1.00
|
SPI functions. More...
Functions | |
void | InitSPI (void) |
SPI intialization. More... | |
UCHAR | ReadWriteSPI (USHORT DeviceNumber, UCHAR WriteData, UCHAR LastTransfer) |
SPI functions.
This file provides all functions needed for SPI access to the other ICs (TMC429, TMC262, EEPROM).
InitSPI | ( | void | ) |
SPI intialization.
This functions initializes the SPI. It has to be called once at the beginning of the main() function, before any other things are done that need SPI access.