36 #if PERIODIC_TELEMETRY
39 static void send_hott(
struct transport_tx *trans,
struct link_device *
dev)
42 pprz_msg_send_PPM(trans,
dev, AC_ID,
54 #if PERIODIC_TELEMETRY
Main include for ABI (AirBorneInterface).
#define RADIO_CONTROL_HOTT_ID
void hott_init(void)
RC init function.
void hott_event(void)
RC event function.
void hott_common_init(struct SHott *hott_p, struct uart_periph *dev)
Init function.
void hott_common_decode_event(struct SHott *hott_p, struct uart_periph *dev)
Decoding event function.
bool frame_available
new frame available
uint16_t ppm[HOTT_NB_CHANNEL]
decoded and converted values
uint16_t pulses[HOTT_NB_CHANNEL]
decoded values
#define HOTT_NB_CHANNEL
Generated code holding the description of a given transmitter.
struct SHott hott
HOTT struct.
static void send_hott(struct transport_tx *trans, struct link_device *dev)
Radio control via single HOTT receiver in SUMD mode.
struct RadioControl radio_control
Generic interface for radio control modules.
uint8_t time_since_last_frame
static const struct usb_device_descriptor dev
int8_t register_periodic_telemetry(struct periodic_telemetry *_pt, uint8_t _id, telemetry_cb _cb)
Register a telemetry callback function.
Periodic telemetry system header (includes downlink utility and generated code).
#define DefaultPeriodic
Set default periodic telemetry.