soft_spi_params.h File Reference

Software SPI configuration. More...

Detailed Description

Software SPI configuration.

Author
Markus Blechschmidt Marku.nosp@m.s.Bl.nosp@m.echsc.nosp@m.hmid.nosp@m.t@haw.nosp@m.-ham.nosp@m.burg..nosp@m.de

Definition in file soft_spi_params.h.

#include "soft_spi.h"
+ Include dependency graph for soft_spi_params.h:

Go to the source code of this file.

#define SOFT_SPI_PARAM_MISO   (GPIO_UNDEF)
 
#define SOFT_SPI_PARAM_MOSI   (GPIO_PIN(0, 0))
 
#define SOFT_SPI_PARAM_CLK   (GPIO_PIN(0, 1))
 
#define SOFT_SPI_PARAMS
 
static soft_spi_conf_t soft_spi_config []
 Sotware SPI port descriptor array. More...
 

Macro Definition Documentation

◆ SOFT_SPI_PARAMS

#define SOFT_SPI_PARAMS
Value:
{ .miso_pin = SOFT_SPI_PARAM_MISO, \
.mosi_pin = SOFT_SPI_PARAM_MOSI, \
.clk_pin = SOFT_SPI_PARAM_CLK }

Definition at line 39 of file soft_spi_params.h.

Variable Documentation

◆ soft_spi_config

soft_spi_conf_t soft_spi_config[]
static
Initial value:
= {
SOFT_SPI_PARAMS,
}

Sotware SPI port descriptor array.

Definition at line 47 of file soft_spi_params.h.