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,
53 #if PERIODIC_TELEMETRY
77 _received_frame_handler();
uint16_t ppm[HOTT_NB_CHANNEL]
decoded and converted values
static void hott_decode_event(void)
Periodic telemetry system header (includes downlink utility and generated code).
void radio_control_impl_event(void(*_received_frame_handler)(void))
RC event function with handler callback.
bool frame_available
new frame available
#define HOTT_NB_CHANNEL
Generated code holding the description of a given transmitter.
Radio control via single HOTT receiver in SUMD mode.
uint16_t pulses[HOTT_NB_CHANNEL]
decoded values
#define DefaultPeriodic
Set default periodic telemetry.
struct RadioControl radio_control
static void send_hott(struct transport_tx *trans, struct link_device *dev)
static const struct usb_device_descriptor dev
void radio_control_impl_init(void)
struct SHott hott
HOTT struct.
void hott_common_decode_event(struct SHott *hott_p, struct uart_periph *dev)
Decoding event function.
void hott_common_init(struct SHott *hott_p, struct uart_periph *dev)
Init function.
uint8_t time_since_last_frame
int8_t register_periodic_telemetry(struct periodic_telemetry *_pt, uint8_t _id, telemetry_cb _cb)
Register a telemetry callback function.