|
ChibiOS/HAL 9.0.0
|
Driver configuration structure. More...
#include <hal_spi_v1.h>

Data Fields | |
| bool | circular |
| Enables the circular buffer mode. | |
| spicallback_t | end_cb |
Operation complete callback or NULL. | |
| ioline_t | ssline |
| The chip select line. | |
| ioportid_t | ssport |
| The chip select port. | |
| ioportmask_t | ssmask |
| The chip select port mask. | |
| uint_fast8_t | sspad |
| The chip select pad number. | |
| bool | slave |
| Enables the slave mode. | |
| spicb_t | data_cb |
Operation data callback or NULL. | |
| spicb_t | error_cb |
Operation error callback or NULL. | |
Driver configuration structure.
Definition at line 138 of file hal_spi_v1.h.
| bool hal_spi_config::circular |
Enables the circular buffer mode.
Definition at line 143 of file hal_spi_v1.h.
Referenced by spiExchange(), spiIgnore(), spiReceive(), spiSend(), spiStartExchangeI(), spiStartIgnoreI(), spiStartReceiveI(), and spiStartSendI().
| spicallback_t hal_spi_config::end_cb |
Operation complete callback or NULL.
Definition at line 148 of file hal_spi_v1.h.
| ioline_t hal_spi_config::ssline |
| ioportid_t hal_spi_config::ssport |
The chip select port.
Definition at line 159 of file hal_spi_v1.h.
| ioportmask_t hal_spi_config::ssmask |
The chip select port mask.
Definition at line 163 of file hal_spi_v1.h.
| uint_fast8_t hal_spi_config::sspad |
The chip select pad number.
Definition at line 173 of file hal_spi_v1.h.
| bool hal_spi_config::slave |
Enables the slave mode.
Definition at line 168 of file hal_spi_v2.h.
| spicb_t hal_spi_config::data_cb |
Operation data callback or NULL.
Definition at line 173 of file hal_spi_v2.h.
| spicb_t hal_spi_config::error_cb |
Operation error callback or NULL.
Definition at line 177 of file hal_spi_v2.h.