Cheetah Software  1.0
rt_sbus.h
Go to the documentation of this file.
1 #ifndef _rt_sbus
2 #define _rt_sbus
3 
4 #include <stdint.h>
5 
6 void unpack_sbus_data(uint8_t sbus_data[], uint16_t *channels);
7 
8 int read_sbus_data(int port, uint8_t *sbus_data);
9 
10 int read_sbus_channel(int channel);
11 
12 int receive_sbus(int port);
13 
14 int init_sbus(int is_simulator);
15 
16 #endif
int read_sbus_channel(int channel)
Definition: rt_sbus.cpp:101
int init_sbus(int is_simulator)
Definition: rt_sbus.cpp:119
int read_sbus_data(int port, uint8_t *sbus_data)
Definition: rt_sbus.cpp:76
int receive_sbus(int port)
Definition: rt_sbus.cpp:108
void unpack_sbus_data(uint8_t sbus_data[], uint16_t *channels)
Definition: rt_sbus.cpp:33
uint16_t channels[18]
Definition: rt_sbus.cpp:25