Cheetah Software
1.0
|
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | unpack_sbus_data (uint8_t sbus_data[], uint16_t *channels) |
int | read_sbus_data (int port, uint8_t *sbus_data) |
int | read_sbus_channel (int channel) |
int | receive_sbus (int port) |
int | init_sbus (int is_simulator) |
int init_sbus | ( | int | is_simulator | ) |
Definition at line 119 of file rt_sbus.cpp.
References K_SBUS_PORT_MC, K_SBUS_PORT_SIM, sbus_data_m, and set_interface_attribs_custom_baud().
int read_sbus_channel | ( | int | channel | ) |
Definition at line 101 of file rt_sbus.cpp.
References channel_data, and sbus_data_m.
int read_sbus_data | ( | int | port, |
uint8_t * | sbus_data | ||
) |
int receive_sbus | ( | int | port | ) |
Definition at line 108 of file rt_sbus.cpp.
References channels, read_sbus_data(), and unpack_sbus_data().
void unpack_sbus_data | ( | uint8_t | sbus_data[], |
uint16_t * | channels | ||
) |
Definition at line 33 of file rt_sbus.cpp.
References channel_data, and sbus_data_m.