mirror of https://github.com/meshcore-dev/MeshCore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
547 B
24 lines
547 B
#pragma once
|
|
|
|
typedef enum {
|
|
KCT8103L_PA,
|
|
OTHER_FEM_TYPES
|
|
} LoRaFEMType;
|
|
|
|
class LoRaFEMControl {
|
|
public:
|
|
LoRaFEMControl() { }
|
|
virtual ~LoRaFEMControl() { }
|
|
void init(void);
|
|
void setSleepModeEnable(void);
|
|
void setTxModeEnable(void);
|
|
void setRxModeEnable(void);
|
|
void setRxModeEnableWhenMCUSleep(void);
|
|
void setLNAEnable(bool enabled);
|
|
bool isLnaCanControl(void) { return true; }
|
|
void setLnaCanControl(bool can_control) { }
|
|
LoRaFEMType getFEMType(void) const { return KCT8103L_PA; }
|
|
|
|
private:
|
|
bool lna_enabled = false;
|
|
};
|
|
|