MAMBAF405_2022A target
[inav.git] / src / main / rx / eleres.h
bloba9cf23d1ccbf39e5ded8ff0731fe14bbeb202fec
1 #pragma once
2 #include "config/parameter_group.h"
3 #include "rx/rx_spi.h"
5 void eleresSetRcDataFromPayload(uint16_t *rcData, const uint8_t *payload);
6 uint8_t eleresBind(void);
7 uint16_t eleresRssi(void);
8 rx_spi_received_e eleresDataReceived(uint8_t *payload, uint16_t *linkQuality);
9 void eleresInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfig);
11 typedef struct
13 float eleresFreq;
14 uint8_t eleresTelemetryEn;
15 uint8_t eleresTelemetryPower;
16 uint8_t eleresLocEn;
17 uint8_t eleresLocPower;
18 uint16_t eleresLocDelay;
19 uint32_t eleresSignature;
20 } eleresConfig_t;
22 PG_DECLARE(eleresConfig_t, eleresConfig);