File: lms7002m_calibrations.h

package info (click to toggle)
limesuite 23.11.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 17,228 kB
  • sloc: cpp: 157,511; ansic: 6,852; python: 197; sh: 56; xml: 21; makefile: 19
file content (28 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef LMS7002M_CALIBRATIONS_H
#define LMS7002M_CALIBRATIONS_H

#include "typedefs.h"

#ifdef __cplusplus
extern "C"
{
#endif

extern int16_t ReadAnalogDC(const uint16_t addr);
extern void UpdateRSSIDelay();
extern uint32_t GetRSSI();
extern void LoadDC_REG_TX_IQ();
extern uint8_t CalibrateTx(bool extLoopback);
extern uint8_t CalibrateTxExternalLoop();
extern uint8_t CalibrateRx(bool extLoopback, bool dcOnly);
extern uint8_t CalibrateRxExternalLoop();
extern void CalibrateRxDCAuto();
extern uint8_t RunAGC(uint32_t wantedRSSI);
extern int16_t clamp(int16_t value, int16_t minBound, int16_t maxBound);

#ifdef __cplusplus
}
#endif


#endif