36#ifndef _RTEMS_DEV_SPI_SPI_GPIO_H
37#define _RTEMS_DEV_SPI_SPI_GPIO_H
67#define SPI_GPIO_MAX_CS 4
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
bool() spi_gpio_get_pin_fn(void *arg)
Type of the functions that read pins.
Definition: spi-gpio.h:83
rtems_status_code spi_gpio_init(const char *device, const struct spi_gpio_params *params)
Definition: spi-gpio.c:198
void() spi_gpio_set_pin_fn(void *arg, bool level)
Type of the functions that set pins.
Definition: spi-gpio.h:75
This header file defines the RTEMS Classic API.
Parameters for the driver.
Definition: spi-gpio.h:91
spi_gpio_set_pin_fn * set_clk
Definition: spi-gpio.h:93
void * set_cs_arg[SPI_GPIO_MAX_CS]
Definition: spi-gpio.h:107
void * set_mosi_arg
Definition: spi-gpio.h:99
spi_gpio_set_pin_fn * set_mosi
Definition: spi-gpio.h:97
void * get_miso_arg
Definition: spi-gpio.h:103
bool cs_idle[SPI_GPIO_MAX_CS]
Definition: spi-gpio.h:114
void * set_clk_arg
Definition: spi-gpio.h:95
spi_gpio_set_pin_fn * set_cs[SPI_GPIO_MAX_CS]
Definition: spi-gpio.h:105
spi_gpio_get_pin_fn * get_miso
Definition: spi-gpio.h:101