ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Data Structures | Functions

spi_lld.h File Reference

SPI Driver subsystem low level driver header template. More...

Go to the source code of this file.

Data Structures

struct  SPIConfig
 Driver configuration structure. More...
struct  SPIDriver
 Structure representing a SPI driver. More...

Functions

void spi_lld_init (void)
 Low level SPI driver initialization.
void spi_lld_start (SPIDriver *spip)
 Configures and activates the SPI peripheral.
void spi_lld_stop (SPIDriver *spip)
 Deactivates the SPI peripheral.
void spi_lld_select (SPIDriver *spip)
 Asserts the slave select signal and prepares for transfers.
void spi_lld_unselect (SPIDriver *spip)
 Deasserts the slave select signal.
void spi_lld_ignore (SPIDriver *spip, size_t n)
 Ignores data on the SPI bus.
void spi_lld_exchange (SPIDriver *spip, size_t n, const void *txbuf, void *rxbuf)
 Exchanges data on the SPI bus.
void spi_lld_send (SPIDriver *spip, size_t n, const void *txbuf)
 Sends data ever the SPI bus.
void spi_lld_receive (SPIDriver *spip, size_t n, void *rxbuf)
 Receives data from the SPI bus.

Detailed Description

SPI Driver subsystem low level driver header template.

Definition in file templates/spi_lld.h.


Generated on Sun Nov 28 2010 14:09:50 for ChibiOS/RT by doxygen 1.7.1