Appiko
S2LP_SDK_Util.h
1 
23 /* Define to prevent recursive inclusion -------------------------------------*/
24 #ifndef S2LP_SDK_UTIL_H_
25 #define S2LP_SDK_UTIL_H_
26 
27 
28 /* Includes ------------------------------------------------------------------*/
29 #include "SDK_EVAL_Config.h"
30 
31 #ifdef __cplusplus
32  "C" {
33 #endif
34 
35 
47 typedef enum
48 {
49  RANGE_EXT_NONE = 0,
50  RANGE_EXT_SKYWORKS_868,
51 } RangeExtType;
52 
53 typedef enum
54 {
55  S2LP_CUT_2_1 = 0x91,
56  S2LP_CUT_2_0 = 0x81,
57  S2LP_CUT_3_0 = 0xC1,
58 } S2LPCutType;
59 
64 void S2LPManagementEnableTcxo(void);
65 void S2LPManagementIdentificationRFBoard(void);
66 void S2LPManagementSetBand(uint8_t value);
67 uint8_t S2LPManagementGetBand(void);
68 void S2LPManagementSetOffset(int32_t value);
69 int32_t S2LPManagementGetOffset(void);
70 void S2LPManagementRcoCalibration(void);
71 void S2LPManagementRangeExtInit(void);
72 RangeExtType S2LPManagementGetRangeExtender(void);
73 S2LPCutType S2LPManagementGetCut(void);
74 uint8_t S2LPManagementGetTcxo(void);
75 void S2LPManagementTcxoInit(void);
76 uint32_t S2LPManagementGetXtalFrequency(void);
77 void S2LPManagementSetRangeExtender(RangeExtType xRangeType);
78 uint32_t S2LPManagementComputeRcoFrequency(void);
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 
96 #endif
97 
98 
99  /******************* (C) COPYRIGHT 2016 STMicroelectronics *****END OF FILE****/
This file contains SDK EVAL configuration and useful defines.
void S2LPManagementEnableTcxo(void)
Definition: S2LP_SDK_Util.c:86