Open RTS
Full implementation of the Somfy RTS protocol
Loading...
Searching...
No Matches
spi_module_linux.h
Go to the documentation of this file.
1#ifndef SPI_MODULE_LINUX_H
2#define SPI_MODULE_LINUX_H
3
4#include "../../spi_module.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
33int spi_module_init_linux(struct spi_module *spi_module, const char *device);
34
39#ifdef __cplusplus
40} // extern "C"
41#endif
42
43#endif // SPI_MODULE_LINUX_H
int spi_module_init_linux(struct spi_module *spi_module, const char *device)
Initialize an spi_module struct using Linux spidev.
Hardware abstraction layer for userland SPI drivers.
Definition spi_module.h:22