![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#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). | |
| 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).