Skip to content

Struct SYN_SoftSPI

ClassList > SYN_SoftSPI

Software SPI instance.

  • #include <syn_soft_spi.h>

Public Attributes

Type Name
SYN_GPIO_State active_state
bool cpha
bool cs_active_low
SYN_GPIO_Pin cs_pin
uint32_t delay_loops
SYN_GPIO_State idle_state
SYN_GPIO_Pin miso
SYN_SPIMode mode
SYN_GPIO_Pin mosi
SYN_GPIO_Pin sck

Public Attributes Documentation

variable active_state

SYN_GPIO_State SYN_SoftSPI::active_state;

Cached active pin state


variable cpha

bool SYN_SoftSPI::cpha;

Clock phase cache


variable cs_active_low

bool SYN_SoftSPI::cs_active_low;

CS active logic polarity


variable cs_pin

SYN_GPIO_Pin SYN_SoftSPI::cs_pin;

Chip select GPIO pin identifier


variable delay_loops

uint32_t SYN_SoftSPI::delay_loops;

Iteration count for half-clock software delay


variable idle_state

SYN_GPIO_State SYN_SoftSPI::idle_state;

Cached idle pin state


variable miso

SYN_GPIO_Pin SYN_SoftSPI::miso;

MISO GPIO pin identifier


variable mode

SYN_SPIMode SYN_SoftSPI::mode;

SPI phase and polarity mode


variable mosi

SYN_GPIO_Pin SYN_SoftSPI::mosi;

MOSI GPIO pin identifier


variable sck

SYN_GPIO_Pin SYN_SoftSPI::sck;

SCK GPIO pin identifier



The documentation for this class was generated from the following file src/syntropic/drivers/syn_soft_spi.h