SPI_MASTER
|
Detailed Description
Structure to hold the dynamic variables for the SPI_MASTER communication.
Definition at line 267 of file SPI_MASTER.h.
#include <SPI_MASTER.h>
Data Fields | |
uint32_t | word_length |
uint32_t | tx_data_count |
volatile uint32_t | tx_data_index |
uint32_t | rx_data_count |
volatile uint32_t | rx_data_index |
uint8_t * | rx_data |
uint8_t * | tx_data |
volatile XMC_SPI_CH_MODE_t | spi_master_mode |
SPI_MASTER_INPUT_t | dx0_input |
SPI_MASTER_INPUT_t | dx0_input_half_duplex |
volatile bool | rx_busy |
volatile bool | tx_busy |
volatile bool | tx_data_dummy |
volatile bool | rx_data_dummy |
Field Documentation
SPI_MASTER_INPUT_t SPI_MASTER_RUNTIME::dx0_input |
DX0 input channel used for Rx input, This is utilized when
mode is changed to full duplex mode
Definition at line 279 of file SPI_MASTER.h.
SPI_MASTER_INPUT_t SPI_MASTER_RUNTIME::dx0_input_half_duplex |
DX0 input channel used for Rx input, This is utilized when
mode is changed to half duplex mode
Definition at line 281 of file SPI_MASTER.h.
volatile bool SPI_MASTER_RUNTIME::rx_busy |
Status flag to indicate busy when a reception is assigned
Definition at line 283 of file SPI_MASTER.h.
Referenced by SPI_MASTER_AbortReceive(), SPI_MASTER_IsRxBusy(), SPI_MASTER_SetBaudRate(), SPI_MASTER_SetMode(), and SPI_MASTER_Transfer().
uint8_t* SPI_MASTER_RUNTIME::rx_data |
Pointer to the receive data buffer
Definition at line 276 of file SPI_MASTER.h.
Referenced by SPI_MASTER_AbortReceive(), and SPI_MASTER_Transfer().
uint32_t SPI_MASTER_RUNTIME::rx_data_count |
Number of bytes of data to be received
Definition at line 273 of file SPI_MASTER.h.
volatile bool SPI_MASTER_RUNTIME::rx_data_dummy |
Status flag to indicate, receive data has to be neglected or
not
Definition at line 286 of file SPI_MASTER.h.
Referenced by SPI_MASTER_Transfer().
volatile uint32_t SPI_MASTER_RUNTIME::rx_data_index |
Indicates the number of bytes currently available in the
rx_data buffer
Definition at line 274 of file SPI_MASTER.h.
volatile XMC_SPI_CH_MODE_t SPI_MASTER_RUNTIME::spi_master_mode |
Defines the SPI transmit mode being used
Definition at line 278 of file SPI_MASTER.h.
Referenced by SPI_MASTER_SetMode(), SPI_MASTER_Transfer(), and SPI_MASTER_TransmitWord().
volatile bool SPI_MASTER_RUNTIME::tx_busy |
Status flag to indicate busy when a transmission is assigned
Definition at line 284 of file SPI_MASTER.h.
Referenced by SPI_MASTER_AbortTransmit(), SPI_MASTER_IsTxBusy(), SPI_MASTER_SetBaudRate(), SPI_MASTER_SetMode(), and SPI_MASTER_Transfer().
uint8_t* SPI_MASTER_RUNTIME::tx_data |
Pointer to the transmit data buffer
Definition at line 277 of file SPI_MASTER.h.
Referenced by SPI_MASTER_AbortTransmit(), and SPI_MASTER_Transfer().
uint32_t SPI_MASTER_RUNTIME::tx_data_count |
Number of bytes of data to be transmitted
Definition at line 270 of file SPI_MASTER.h.
Referenced by SPI_MASTER_Transfer().
volatile bool SPI_MASTER_RUNTIME::tx_data_dummy |
Status flag to indicate, dummy data is being transmitted
Definition at line 285 of file SPI_MASTER.h.
Referenced by SPI_MASTER_AbortReceive(), SPI_MASTER_AbortTransmit(), and SPI_MASTER_Transfer().
volatile uint32_t SPI_MASTER_RUNTIME::tx_data_index |
Index to the byte to be transmitted next in the tx_data
buffer
Definition at line 271 of file SPI_MASTER.h.
uint32_t SPI_MASTER_RUNTIME::word_length |
Indicates the length of the data word
Definition at line 269 of file SPI_MASTER.h.
The documentation for this struct was generated from the following file: