SPI.h File Reference

#include <stdbool.h>

Defines

#define SPI_SPEED_FCPU_DIV_2   SPI_USE_DOUBLESPEED
#define SPI_SPEED_FCPU_DIV_4   0
#define SPI_SPEED_FCPU_DIV_8   (SPI_USE_DOUBLESPEED | (1 << SPR0))
#define SPI_SPEED_FCPU_DIV_16   (1 << SPR0)
#define SPI_SPEED_FCPU_DIV_32   (SPI_USE_DOUBLESPEED | (1 << SPR1))
#define SPI_SPEED_FCPU_DIV_64   (SPI_USE_DOUBLESPEED | (1 << SPR1) | (1 << SPR0))
#define SPI_SPEED_FCPU_DIV_128   ((1 << SPR1) | (1 << SPR0))

Functions

static void SPI_Init (const uint8_t PrescalerMask, const bool Master)
static uint8_t SPI_TransferByte (const uint8_t Byte) ATTR_ALWAYS_INLINE
static void SPI_SendByte (const uint8_t Byte) ATTR_ALWAYS_INLINE
static uint8_t SPI_ReceiveByte (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT

Detailed Description

Hardware SPI subsystem driver for the supported USB AVRs models.

Generated on Fri Jun 5 16:30:18 2009 for LUFA Library by  doxygen 1.5.7.1