ChibiOS/HAL  7.0.4
hal_spi_config Struct Reference

Driver configuration structure. More...

#include <hal_spi.h>

Collaboration diagram for hal_spi_config:
Collaboration graph

Data Fields

bool circular
 Enables the circular buffer mode. More...
 
spicallback_t end_cb
 Operation complete callback or NULL. More...
 
ioline_t ssline
 The chip select line. More...
 
ioportid_t ssport
 The chip select port. More...
 
ioportmask_t ssmask
 The chip select port mask. More...
 
uint_fast8_t sspad
 The chip select pad number. More...
 

Detailed Description

Driver configuration structure.

Definition at line 148 of file hal_spi.h.

Field Documentation

bool hal_spi_config::circular

Enables the circular buffer mode.

Definition at line 153 of file hal_spi.h.

Referenced by spiExchange(), spiIgnore(), spiReceive(), and spiSend().

spicallback_t hal_spi_config::end_cb

Operation complete callback or NULL.

Definition at line 158 of file hal_spi.h.

ioline_t hal_spi_config::ssline

The chip select line.

Definition at line 163 of file hal_spi.h.

ioportid_t hal_spi_config::ssport

The chip select port.

Definition at line 169 of file hal_spi.h.

ioportmask_t hal_spi_config::ssmask

The chip select port mask.

Definition at line 173 of file hal_spi.h.

uint_fast8_t hal_spi_config::sspad

The chip select pad number.

Definition at line 183 of file hal_spi.h.