picofuse

Data Fields
hw_spi_config_t Struct Reference

SPI initialization configuration. More...

#include <spi.h>

Data Fields

bool cs_active_low
 True when chip-select is active low.
 
hw_spi_mode_t mode
 SPI mode selection.
 
uint8_t bits_per_word
 SPI frame size in bits.
 

Detailed Description

SPI initialization configuration.

Describes optional SPI settings beyond the required baud rate passed directly to the init functions.

When NULL is passed to an init function, implementation defaults are used for all fields in this structure. The default SPI configuration is chip-select active low, mode 0, and 8 bits per word.

Definition at line 56 of file spi.h.


The documentation for this struct was generated from the following file: