ChibiOS  21.6.0
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 146 of file hal_spi.h.

Field Documentation

◆ circular

bool hal_spi_config::circular

Enables the circular buffer mode.

Definition at line 151 of file hal_spi.h.

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

◆ end_cb

spicallback_t hal_spi_config::end_cb

Operation complete callback or NULL.

Definition at line 156 of file hal_spi.h.

◆ ssline

ioline_t hal_spi_config::ssline

The chip select line.

Definition at line 161 of file hal_spi.h.

◆ ssport

ioportid_t hal_spi_config::ssport

The chip select port.

Definition at line 167 of file hal_spi.h.

◆ ssmask

ioportmask_t hal_spi_config::ssmask

The chip select port mask.

Definition at line 171 of file hal_spi.h.

◆ sspad

uint_fast8_t hal_spi_config::sspad

The chip select pad number.

Definition at line 181 of file hal_spi.h.