RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Fields

Parameters for the driver. More...

#include <spi-gpio.h>

Data Fields

spi_gpio_set_pin_fnset_clk
 
void * set_clk_arg
 
spi_gpio_set_pin_fnset_mosi
 
void * set_mosi_arg
 
spi_gpio_get_pin_fnget_miso
 
void * get_miso_arg
 
spi_gpio_set_pin_fnset_cs [SPI_GPIO_MAX_CS]
 
void * set_cs_arg [SPI_GPIO_MAX_CS]
 
bool cs_idle [SPI_GPIO_MAX_CS]
 

Detailed Description

Parameters for the driver.

Parameters that should be provided by the application while registering the driver. Mainly functions to set single pins.

Field Documentation

◆ cs_idle

bool spi_gpio_params::cs_idle[SPI_GPIO_MAX_CS]

Idle level of the CS pin.

Set the value to 0 for a high active CS or to 1 for a low active CS pin.

◆ get_miso

spi_gpio_get_pin_fn* spi_gpio_params::get_miso

Function for reading the miso pin

◆ get_miso_arg

void* spi_gpio_params::get_miso_arg

Application specific argument for the miso pin getter function

◆ set_clk

spi_gpio_set_pin_fn* spi_gpio_params::set_clk

Function for setting the clock pin

◆ set_clk_arg

void* spi_gpio_params::set_clk_arg

Application specific argument for the clock pin setter function

◆ set_cs

spi_gpio_set_pin_fn* spi_gpio_params::set_cs[SPI_GPIO_MAX_CS]

Functions for setting the cs pins

◆ set_cs_arg

void* spi_gpio_params::set_cs_arg[SPI_GPIO_MAX_CS]

Application specific arguments for the cs pin getter functions

◆ set_mosi

spi_gpio_set_pin_fn* spi_gpio_params::set_mosi

Function for setting the mosi pin

◆ set_mosi_arg

void* spi_gpio_params::set_mosi_arg

Application specific argument for the mosi pin setter function


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