Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_SPI_CHIP_SELECT Struct Reference

#include <spi.h>

Data Fields

uint32_t pin
 The GPIO pin for this chip select (eg GPIO_PIN_46)(GPIO_PIN_UNKNOWN for internal).
uint32_t mode
 The mode for this chip select (eg SPI_MODE_0).
uint32_t divider
 The clock divider for this chip select (Used internally by drivers).
uint32_t clockrate
 The clock rate for this chip select.
uint32_t clockphase
 The clock phase (CPHA) for this chip select (eg SPI_CLOCK_PHASE_LOW).
uint32_t clockpolarity
 The clock polarity (CPOL) for this chip select (eg SPI_CLOCK_POLARITY_LOW).
uint32_t selectpolarity
 The chip select polarity for this chip select (eg SPI_CS_POLARITY_LOW).
uint32_t bytedelay
 Delay between bytes written for this chip select (Microseconds).

Field Documentation

◆ pin

uint32_t pin

The GPIO pin for this chip select (eg GPIO_PIN_46)(GPIO_PIN_UNKNOWN for internal).

◆ mode

uint32_t mode

The mode for this chip select (eg SPI_MODE_0).

◆ divider

uint32_t divider

The clock divider for this chip select (Used internally by drivers).

◆ clockrate

uint32_t clockrate

The clock rate for this chip select.

◆ clockphase

uint32_t clockphase

The clock phase (CPHA) for this chip select (eg SPI_CLOCK_PHASE_LOW).

◆ clockpolarity

uint32_t clockpolarity

The clock polarity (CPOL) for this chip select (eg SPI_CLOCK_POLARITY_LOW).

◆ selectpolarity

uint32_t selectpolarity

The chip select polarity for this chip select (eg SPI_CS_POLARITY_LOW).

◆ bytedelay

uint32_t bytedelay

Delay between bytes written for this chip select (Microseconds).


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