mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-09 12:49:40 +00:00
20 lines
435 B
C++
20 lines
435 B
C++
#pragma once
|
|
|
|
#include "SX126xInterface.h"
|
|
#include "rfswitch.h"
|
|
|
|
#ifdef ARCH_STM32WL
|
|
|
|
/**
|
|
* Our adapter for STM32WLE5JC radios
|
|
*/
|
|
class STM32WLE5JCInterface : public SX126xInterface<STM32WLx>
|
|
{
|
|
public:
|
|
STM32WLE5JCInterface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst,
|
|
RADIOLIB_PIN_TYPE busy);
|
|
|
|
virtual bool init() override;
|
|
};
|
|
|
|
#endif // ARCH_STM32WL
|