ChibiOS/HAL  6.1.0
SPIConfig Struct Reference

Driver configuration structure. More...

#include <hal_spi_lld.h>

Collaboration diagram for SPIConfig:
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.

Note
Implementations may extend this structure to contain more, architecture dependent, fields.

Definition at line 83 of file hal_spi_lld.h.

Field Documentation

bool SPIConfig::circular

Enables the circular buffer mode.

Definition at line 88 of file hal_spi_lld.h.

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

spicallback_t SPIConfig::end_cb

Operation complete callback or NULL.

Definition at line 93 of file hal_spi_lld.h.

ioline_t SPIConfig::ssline

The chip select line.

Definition at line 98 of file hal_spi_lld.h.

ioportid_t SPIConfig::ssport

The chip select port.

Definition at line 104 of file hal_spi_lld.h.

ioportmask_t SPIConfig::ssmask

The chip select port mask.

Definition at line 108 of file hal_spi_lld.h.

uint_fast8_t SPIConfig::sspad

The chip select pad number.

Definition at line 118 of file hal_spi_lld.h.