Xmega Application Note


SPI_Master Struct Reference

SPI master struct. Holds pointer to SPI module, buffers and necessary varibles. More...

#include <spi_driver.h>

Collaboration diagram for SPI_Master:

Data Fields

SPI_DataPacket_tdataPacket
 Holds transceive data.
bool interrupted
 True if interrupted by other master (SS pulled low).
SPI_t * module
 Pointer to what module to use.
PORT_t * port
 Pointer to port.

Detailed Description

SPI master struct. Holds pointer to SPI module, buffers and necessary varibles.


Field Documentation

True if interrupted by other master (SS pulled low).

Definition at line 99 of file spi_driver.h.

Referenced by SPI_MasterInit(), SPI_MasterInterruptHandler(), and SPI_MasterInterruptTransceivePacket().

Pointer to port.

Definition at line 98 of file spi_driver.h.

Referenced by SPI_MasterInit(), and SPI_MasterInterruptTransceivePacket().