RTEMS 6.1-rc5
|
Parameters for the driver. More...
#include <spi-gpio.h>
Data Fields | |
spi_gpio_set_pin_fn * | set_clk |
void * | set_clk_arg |
spi_gpio_set_pin_fn * | set_mosi |
void * | set_mosi_arg |
spi_gpio_get_pin_fn * | get_miso |
void * | get_miso_arg |
spi_gpio_set_pin_fn * | set_cs [SPI_GPIO_MAX_CS] |
void * | set_cs_arg [SPI_GPIO_MAX_CS] |
bool | cs_idle [SPI_GPIO_MAX_CS] |
Parameters for the driver.
Parameters that should be provided by the application while registering the driver. Mainly functions to set single pins.
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.
spi_gpio_get_pin_fn* spi_gpio_params::get_miso |
Function for reading the miso pin
void* spi_gpio_params::get_miso_arg |
Application specific argument for the miso pin getter function
spi_gpio_set_pin_fn* spi_gpio_params::set_clk |
Function for setting the clock pin
void* spi_gpio_params::set_clk_arg |
Application specific argument for the clock pin setter function
spi_gpio_set_pin_fn* spi_gpio_params::set_cs[SPI_GPIO_MAX_CS] |
Functions for setting the cs pins
void* spi_gpio_params::set_cs_arg[SPI_GPIO_MAX_CS] |
Application specific arguments for the cs pin getter functions
spi_gpio_set_pin_fn* spi_gpio_params::set_mosi |
Function for setting the mosi pin
void* spi_gpio_params::set_mosi_arg |
Application specific argument for the mosi pin setter function