|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Single SBUS radio_control. More...
#include "modules/radio_control/radio_control.h"#include "modules/radio_control/sbus.h"#include "modules/core/abi.h"#include <BOARD_CONFIG>#include "modules/datalink/telemetry.h"
Include dependency graph for sbus.c:Go to the source code of this file.
Macros | |
| #define | RC_POLARITY_GPIO_PORT 0 |
| #define | RC_POLARITY_GPIO_PIN 0 |
Functions | |
| static void | send_sbus (struct transport_tx *trans, struct link_device *dev) |
| void | sbus_init (void) |
| RC init function. | |
| static void | sbus_decode_event (void) |
| void | sbus_event (void) |
| RC event function. | |
Variables | |
| struct Sbus | sbus |
| SBUS struct. | |
Single SBUS radio_control.
Definition in file sbus.c.
Definition at line 69 of file sbus.c.
References foo, sbus, and sbus_common_decode_event().
Referenced by sbus_event().
Here is the call graph for this function:
Here is the caller graph for this function:RC event function.
Definition at line 74 of file sbus.c.
References foo, 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.
Here is the call graph for this function:RC init function.
Definition at line 55 of file sbus.c.
References DefaultPeriodic, foo, 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().
Here is the call graph for this function:
|
static |
Definition at line 46 of file sbus.c.
References dev, foo, RadioControl::frame_rate, Sbus::ppm, radio_control, sbus, and SBUS_NB_CHANNEL.
Referenced by sbus_init().
Here is the caller graph for this function:| struct Sbus sbus |
SBUS struct.
Definition at line 40 of file sbus.c.
Referenced by sbus_decode_event(), sbus_event(), sbus_init(), and send_sbus().