ChibiOS/RT Architecture - Reference Manual - Guides |
Structure representing a SPI driver. More...
#include <spi_lld.h>
Data Fields | |
spistate_t | spd_state |
Driver state. | |
Mutex | spd_mutex |
Mutex protecting the bus. | |
const SPIConfig * | spd_config |
Current configuration data. | |
Thread * | spd_thread |
Thread waiting for I/O completion. | |
SPI_TypeDef * | spd_spi |
Pointer to the SPIx registers block. | |
DMA_Channel_TypeDef * | spd_dmarx |
Pointer to the receive DMA channel registers block. | |
DMA_Channel_TypeDef * | spd_dmatx |
Pointer to the transmit DMA channel registers block. | |
uint32_t | spd_dmaprio |
DMA priority bit mask. |
Structure representing a SPI driver.
Definition at line 66 of file templates/spi_lld.h.
Driver state.
Definition at line 70 of file templates/spi_lld.h.
Referenced by spiExchange(), spiIgnore(), spiObjectInit(), spiReceive(), spiSelect(), spiSend(), spiStart(), spiStop(), and spiUnselect().
Mutex protecting the bus.
Definition at line 76 of file templates/spi_lld.h.
Referenced by spiAcquireBus(), and spiObjectInit().
const SPIConfig * SPIDriver::spd_config |
Current configuration data.
Definition at line 84 of file templates/spi_lld.h.
Referenced by spiObjectInit(), and spiStart().
Thread waiting for I/O completion.
Definition at line 170 of file platforms/STM32/spi_lld.h.
SPI_TypeDef* SPIDriver::spd_spi |
Pointer to the SPIx registers block.
Definition at line 174 of file platforms/STM32/spi_lld.h.
DMA_Channel_TypeDef* SPIDriver::spd_dmarx |
Pointer to the receive DMA channel registers block.
Definition at line 178 of file platforms/STM32/spi_lld.h.
DMA_Channel_TypeDef* SPIDriver::spd_dmatx |
Pointer to the transmit DMA channel registers block.
Definition at line 182 of file platforms/STM32/spi_lld.h.
DMA priority bit mask.
Definition at line 186 of file platforms/STM32/spi_lld.h.