|
LoRaWANCH341 Library
|
Factory class for creating SPI interfaces. More...
#include <SPIInterface.hpp>

Public Member Functions | |
| ~SPIFactory ()=default | |
Static Public Member Functions | |
| static std::unique_ptr< SPIInterface > | createCH341SPI (int device_index=0, bool lsb_first=false) |
| static std::unique_ptr< SPIInterface > | createLinuxSPI (const std::string &device=std::string("/dev/spidev0.0"), uint32_t speed=1000000, uint8_t mode=0) |
| static std::unique_ptr< SPIInterface > | createSPIInterface (const std::string &device_type, int device_index=0, bool lsb_first=false) |
| static void | cleanupResources () |
Factory class for creating SPI interfaces.
This class provides factory methods for creating SPI interfaces, allowing the user to select the desired SPI implementation.
|
default |
|
static |
|
static |

|
static |

|
static |