| MAV'RIC
   
    | 
The SPI buffer structure definition. More...
#include <spi_buffered.h>
| 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. | |
The SPI buffer structure definition.
 1.7.6.1
 1.7.6.1