Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Radio control via single SBUS receiver. More...
#include "modules/radio_control/sbus_common.h"
Go to the source code of this file.
Functions | |
void | sbus_init (void) |
RC init function. More... | |
void | sbus_event (void) |
RC event function. More... | |
Variables | |
struct Sbus | sbus |
SBUS struct. More... | |
Radio control via single SBUS receiver.
Definition in file sbus.h.
void sbus_event | ( | void | ) |
RC event function.
Definition at line 74 of file sbus.c.
References Sbus::frame_available, RadioControl::frame_cpt, Sbus::pulses, radio_control, RADIO_CONTROL_SBUS_ID, RadioControl::radio_ok_cpt, Sbus::rc_failsafe, Sbus::rc_lost, RC_OK, RC_REALLY_LOST, sbus, sbus_decode_event(), RadioControl::status, and RadioControl::time_since_last_frame.
void sbus_init | ( | void | ) |
RC init function.
Definition at line 55 of file sbus.c.
References DefaultPeriodic, RadioControl::nb_channel, radio_control, RC_POLARITY_GPIO_PIN, RC_POLARITY_GPIO_PORT, register_periodic_telemetry(), sbus, sbus_common_init(), SBUS_NB_CHANNEL, and send_sbus().
|
extern |
SBUS struct.
Definition at line 1 of file sbus.c.
Referenced by sbus_decode_event(), sbus_event(), sbus_init(), and send_sbus().