Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ fd

int spidev_linux_state::fd[SPI_MAXCS]

File descriptors for each CS line on the bus.

Definition at line 103 of file spidev_linux.h.

◆ lock

mutex_t spidev_linux_state::lock

Mutex for the whole bus (all CS lines)

Definition at line 101 of file spidev_linux.h.


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