mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:48:12 +00:00
e8c6225ef0
This layer can be enabled/disabled with the option XN297L_CC2500_EMU in _config.h Protocols which are using it so far: GD00X, KF606 and MJXQ/E010&PHOENIX
20 lines
725 B
C
20 lines
725 B
C
#ifndef _IFACE_XN297L_H_
|
|
|
|
#define _IFACE_XN297L_H_
|
|
|
|
#if defined (XN297L_CC2500_EMU)
|
|
#include "iface_cc2500.h"
|
|
#elif defined (NRF24L01_INSTALLED)
|
|
#include "iface_nrf24l01.h"
|
|
#endif
|
|
|
|
static void __attribute__((unused)) XN297L_Init();
|
|
static void __attribute__((unused)) XN297L_SetTXAddr(const uint8_t*, uint8_t);
|
|
static void __attribute__((unused)) XN297L_WritePayload(uint8_t*, uint8_t);
|
|
static void __attribute__((unused)) XN297L_HoppingCalib(__attribute__((unused)) uint8_t);
|
|
static void __attribute__((unused)) XN297L_Hopping(uint8_t);
|
|
static void __attribute__((unused)) XN297L_RFChannel(uint8_t);
|
|
static void __attribute__((unused)) XN297L_SetPower();
|
|
static void __attribute__((unused)) XN297L_SetFreqOffset();
|
|
|
|
#endif |