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

FreqCalc_SX127x.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
31 //------------------------------------------------------------------------------
32
33 #ifndef ARDUINO_UTILS_FREQCALC_SX127X_H_
34 #define ARDUINO_UTILS_FREQCALC_SX127X_H_
35
36
37 #include <stdint.h>
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42
43 void FreqCalc_calcFreqToRegister(uint32_t freq, uint8_t* msb, uint8_t* mid, uint8_t* lsb);
44 uint32_t FreqCalc_calcRegisterToFreq(uint8_t msb, uint8_t mid, uint8_t lsb);
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50
51 #endif /* ARDUINO_UTILS_FREQCALC_SX127X_H_ */
FreqCalc_calcRegisterToFreq
uint32_t FreqCalc_calcRegisterToFreq(uint8_t msb, uint8_t mid, uint8_t lsb)
Translates given register values to a carrier frequency.
Definition: FreqCalc_SX127x.c:68
FreqCalc_calcFreqToRegister
void FreqCalc_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_SX127x.c:45
FreqCalc_calcRegisterToFreq
uint32_t FreqCalc_calcRegisterToFreq(uint8_t msb, uint8_t mid, uint8_t lsb)
Translates given register values to a carrier frequency.
Definition: FreqCalc_SX127x.c:68
FreqCalc_SX127x.h
FreqCalc_calcFreqToRegister
void FreqCalc_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_SX127x.c:45