36 #if PERIODIC_TELEMETRY
42 pprz_msg_send_PPM(trans, dev, AC_ID,
53 #if PERIODIC_TELEMETRY
77 _received_frame_handler();
void sbus_common_decode_event(struct Sbus *sbus_p, struct uart_periph *dev)
Decoding event function.
void radio_control_impl_init(void)
Generic transmission transport header.
Periodic telemetry system header (includes downlink utility and generated code).
uint16_t pulses[SBUS_NB_CHANNEL]
decoded values
static void sbus_decode_event(void)
void radio_control_impl_event(void(*_received_frame_handler)(void))
RC event function with handler callback.
struct Sbus sbus
SBUS struct.
#define DefaultPeriodic
Set default periodic telemetry.
void sbus_common_init(struct Sbus *sbus_p, struct uart_periph *dev)
Init function.
struct RadioControl radio_control
uint16_t ppm[SBUS_NB_CHANNEL]
decoded and converted values
static const struct usb_device_descriptor dev
Radio control via single SBUS receiver.
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.
bool_t frame_available
new frame available