Implementation of SPI access from Linux User Space. More...
Implementation of SPI access from Linux User Space.
Definition in file spidev_linux.h.
Include dependency graph for spidev_linux.h:Go to the source code of this file.
Data Structures | |
| struct | spidev_linux_conf |
| Static runtime configuration for SPI port + CS line. More... | |
| struct | spidev_linux_state |
| Dynamic runtime state for SPI port + CS line. More... | |
Typedefs | |
| typedef struct spidev_linux_conf | spidev_linux_conf_t |
| Static runtime configuration for SPI port + CS line. More... | |
| typedef struct spidev_linux_state | spidev_linux_state_t |
| Dynamic runtime state for SPI port + CS line. More... | |
Enumerations | |
| enum | { SPI_SETUP_OK = 0 , SPI_SETUP_INVALID = -1 } |
| Status codes for SPI device setup. More... | |
Functions | |
| int | spidev_linux_setup (spi_t bus, unsigned cs_id, const char *name) |
register /dev/spidev* device to be used for SPI More... | |
| void | spidev_linux_teardown (void) |
| Close open SPI file descriptors. | |