oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Fields
ove_spi_cs Struct Reference

SPI chip-select descriptor. More...

#include <spi.h>

Data Fields

unsigned int gpio_port
 
unsigned int gpio_pin
 
int active_low
 

Detailed Description

SPI chip-select descriptor.

Identifies the GPIO pin used for software CS management. Pass NULL to SPI transfer functions to skip CS handling (hardware CS or external management).

Field Documentation

◆ gpio_port

unsigned int ove_spi_cs::gpio_port

GPIO port index for CS pin.

◆ gpio_pin

unsigned int ove_spi_cs::gpio_pin

GPIO pin index for CS pin.

◆ active_low

int ove_spi_cs::active_low

Non-zero if CS is active low (common).


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