Open RTS
Full implementation of the Somfy RTS protocol
Loading...
Searching...
No Matches
spi_module_espidf.h
Go to the documentation of this file.
1#ifndef SPI_MODULE_ESPIDF_H
2#define SPI_MODULE_ESPIDF_H
3
4#include <driver/spi_master.h>
5
6#include "../../spi_module.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
36 spi_host_device_t host_device);
37
42#ifdef __cplusplus
43} // extern "C"
44#endif
45
46#endif // SPI_MODULE_ESPIDF_H
int spi_module_init_espidf(struct spi_module *spi_module, spi_host_device_t host_device)
Initialize an spi_module struct using the ESP-IDF SPI interface.
Hardware abstraction layer for userland SPI drivers.
Definition spi_module.h:22