14 #ifndef HEIVS_STM32_SPI_H
15 #define HEIVS_STM32_SPI_H
55 extern const struct heivs_bus_t bus_spi[BSP_SPI_BUS_COUNT];
SPI_TypeDef * ctrl
Controller.
BSP - Board Support Package.
enum spi_option_e options
Options.
Serial Peripheral Interface.
Mode 3 : CPOL = 1, CPHA = 1.
Mode 2 : CPOL = 1, CPHA = 0.
const struct gpio_t gpios[4]
Gpios.
Mode 0 : CPOL = 0, CPHA = 0.
spi_option_e
SPI specific options.
Mode 1 : CPOL = 0, CPHA = 1.