| Demo HCI Implementation for WiMOD-LR Devices V2.0.3

FreqCalc_SX1280.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
31 //------------------------------------------------------------------------------
32
33
34 #ifndef ARDUINO_UTILS_FREQCALC_SX1280_H_
35 #define ARDUINO_UTILS_FREQCALC_SX1280_H_
36
37 //------------------------------------------------------------------------------
38 //
39 // Section Includes Files
40 //
41 //------------------------------------------------------------------------------
42
43
44 #include <stdint.h>
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 void FreqCalcSX1280_calcFreqToRegister(uint32_t freq, uint8_t* msb, uint8_t* mid, uint8_t* lsb);
51 uint32_t FreqCalcSX1280_calcRegisterToFreq(uint8_t msb, uint8_t mid, uint8_t lsb);
52
53 #ifdef __cplusplus
54 }
55 #endif
56
57
58
59
60 #endif /* ARDUINO_UTILS_FREQCALC_SX1280_H_ */
FreqCalcSX1280_calcFreqToRegister
void FreqCalcSX1280_calcFreqToRegister(uint32_t freq, uint8_t *msb, uint8_t *mid, uint8_t *lsb)
Translates a given frequency to the according register values of the TRX.
Definition: FreqCalc_SX1280.c:45
FreqCalcSX1280_calcRegisterToFreq
uint32_t FreqCalcSX1280_calcRegisterToFreq(uint8_t msb, uint8_t mid, uint8_t lsb)
Translates given register values to a carrier frequency.
Definition: FreqCalc_SX1280.c:68
FreqCalc_SX1280.h
FreqCalcSX1280_calcFreqToRegister
void FreqCalcSX1280_calcFreqToRegister(uint32_t freq, uint8_t *msb, uint8_t *mid, uint8_t *lsb)
Translates a given frequency to the according register values of the TRX.
Definition: FreqCalc_SX1280.c:45
FreqCalcSX1280_calcRegisterToFreq
uint32_t FreqCalcSX1280_calcRegisterToFreq(uint8_t msb, uint8_t mid, uint8_t lsb)
Translates given register values to a carrier frequency.
Definition: FreqCalc_SX1280.c:68