Public Member Functions | |
bool | Init (float LPFCornerFreq, float RF_Freq) |
Initializes RFFE, sets RF filter and frequency. | |
bool | TxGain (int PA_Gain, int Transceiver) |
Adjusts transceiver gain (only for TX). | |
bool | RxGain (int LNA_Gain, int VGA_Gain, int Transceiver) |
Adjusts transceiver gain (only for RX). | |
unsigned int | WriteRFFEReg (int Transceiver, unsigned int SPIReg, unsigned int Data) |
Sets SPI register value for a given transceiver. |
bool Init | ( | float | LPFCornerFreq, | |
float | RF_Freq | |||
) |
Initializes RFFE, sets RF filter and frequency.
LPFCornerFreq | Cutoff frecuency of the RF filter.
| |
RF_Freq | RF frecuency in MHz. |
bool TxGain | ( | int | PA_Gain, | |
int | Transceiver | |||
) |
Adjusts transceiver gain (only for TX).
PA_Gain | Power Amplifier gain.
| |||||||||
Transceiver | Transceiver number. |
bool RxGain | ( | int | LNA_Gain, | |
int | VGA_Gain, | |||
int | Transceiver | |||
) |
Adjusts transceiver gain (only for RX).
LNA_Gain | Low Noise Amplifier gain. | |
VGA_Gain | Variable Gain Amplifier gain. | |
Transceiver | Transceiver number. |
unsigned int WriteRFFEReg | ( | int | Transceiver, | |
unsigned int | SPIReg, | |||
unsigned int | Data | |||
) |
Sets SPI register value for a given transceiver.
Transceiver | Transceiver number. | |
SPIReg | Number of the SPI register to be written. | |
Data | Register value. |