MAV'RIC
Public Attributes
spi_buffer_t Struct Reference

The SPI buffer structure definition. More...

#include <spi_buffered.h>

List of all members.

Public Attributes

volatile avr32_spi_t * spi
 The pointer to the avr32 spi structure.
volatile uint8_t spi_out_buffer [SPI_BUFFER_SIZE]
 The SPI outgoing buffer of size SPI_BUFFER_SIZE.
volatile uint8_t spi_in_buffer [SPI_BUFFER_SIZE]
 The SPI ingoing buffer of size SPI_BUFFER_SIZE.
volatile uint8_t spi_in_buffer_head
 The head of the SPI ingoing buffer.
volatile uint8_t spi_in_buffer_tail
 The tail of the SPI ingoing buffer.
volatile uint8_t spi_out_buffer_head
 The head of the SPI outgoing buffer.
volatile uint8_t spi_out_buffer_tail
 The tail of the SPI outgoing buffer.
volatile uint8_t spi_receiver_on
 Flag to activate or not the SPI reception.
volatile uint8_t traffic
 Read incoming data from SPI port.
volatile uint8_t transmission_in_progress
 Flag to know if there is a transmission going on.
volatile uint8_t automatic
 Flag to send automatically over SPI or pause/stop transmission.
volatile function_pointer_t * callback_function
 The callback function that gets called when the buffer is empty.
struct spi_device adc_spi
 The SPI device.

Detailed Description

The SPI buffer structure definition.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines