spidev_linux_state Struct Reference

Dynamic runtime state for SPI port + CS line. More...

Detailed Description

Dynamic runtime state for SPI port + CS line.

Contains state of the line (whether if it's opened, in use, available, ...)

Definition at line 99 of file spidev_linux.h.

#include <spidev_linux.h>

Data Fields

mutex_t lock
 Mutex for the whole bus (all CS lines)
 
int fd [SPI_MAXCS]
 File descriptors for each CS line on the bus.
 

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