spi.c File Reference

SPI - Serial Peripheral Interface Controller. More...

Go to the source code of this file.


Functions

int Spi_Configure (int channel, int bits, int clockDivider, int delayBeforeSPCK, int delayBetweenTransfers)
 Configure the SPI channel.
int Spi_ReadWriteBlock (int channel, unsigned char *buffer, int count)
 Read/Write a block of data via SPI.

Detailed Description

SPI - Serial Peripheral Interface Controller.

Methods for communicating with devices via the SPI protocol. ToDo: need to do so locking around the Start code to make it thread safe ToDo: make the naming scheme consistent for the SetActive() business

Definition in file spi.c.