ChibiOS/HAL 9.0.0
|
Structure representing an SPI driver. More...
#include <hal_spi_v1.h>
Data Fields | |
spistate_t | state |
Driver state. | |
const SPIConfig * | config |
Current configuration data. | |
thread_reference_t | thread |
Waiting thread. | |
mutex_t | mutex |
Mutex protecting the peripheral. | |
thread_reference_t | sync_transfer |
Synchronization point for transfer. |
Structure representing an SPI driver.
Definition at line 182 of file hal_spi_v1.h.
spistate_t hal_spi_driver::state |
Driver state.
Definition at line 186 of file hal_spi_v1.h.
Referenced by spi_lld_start(), spi_lld_stop(), spiAbort(), spiAbortI(), spiExchange(), spiIgnore(), spiObjectInit(), spiReceive(), spiSelect(), spiSend(), spiStart(), spiStartExchange(), spiStartExchangeI(), spiStartIgnore(), spiStartIgnoreI(), spiStartReceive(), spiStartReceiveI(), spiStartSend(), spiStartSendI(), spiStop(), spiStopTransferI(), spiSynchronizeS(), and spiUnselect().
const SPIConfig * hal_spi_driver::config |
Current configuration data.
Definition at line 190 of file hal_spi_v1.h.
Referenced by spiExchange(), spiIgnore(), spiObjectInit(), spiReceive(), spiSend(), spiStart(), spiStartExchangeI(), spiStartIgnoreI(), spiStartReceiveI(), spiStartSendI(), and spiStop().
thread_reference_t hal_spi_driver::thread |
Waiting thread.
Definition at line 195 of file hal_spi_v1.h.
Referenced by spiAbortI(), spiExchange(), spiIgnore(), spiObjectInit(), spiReceive(), and spiSend().
mutex_t hal_spi_driver::mutex |
Mutex protecting the peripheral.
Definition at line 201 of file hal_spi_v1.h.
Referenced by spiAcquireBus(), spiObjectInit(), and spiReleaseBus().
thread_reference_t hal_spi_driver::sync_transfer |
Synchronization point for transfer.
Definition at line 227 of file hal_spi_v2.h.
Referenced by spiObjectInit(), spiStopTransferI(), and spiSynchronizeS().