|
Open RTS
Full implementation of the Somfy RTS protocol
|
Hardware abstraction layer for userland SPI drivers. More...
#include <spi_module.h>
Inherited by SPIModule.
Related Symbols | |
(Note that these are not member symbols.) | |
| uint8_t | spi_read (struct spi_module *spi, uint8_t reg) |
| Read a byte from the spi device at the specified register address. | |
| void | spi_write (struct spi_module *spi, uint8_t reg, uint8_t val) |
| Write a byte to the spi device at the specified register address. | |
| void | spi_write_masked (struct spi_module *spi, uint8_t reg, uint8_t mask, uint8_t val) |
| Write some bits of val to the spi device at the specified register address, using a bitmask. | |
| int | spi_module_init_arduino (struct spi_module *spi_module, SPIClass *spi_device) |
| Initialize an spi_module struct using Arduino's SPI interface. | |
| 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. | |
| 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.