APM:Libraries
|
#include <RC_PPM_parser.h>
Classes | |
struct | DSM |
struct | DSM_State |
struct | SBUS |
struct | SbusState |
Public Member Functions | |
PPM_parser () | |
void | init (uint8_t ch) |
Public Member Functions inherited from F4Light::_parser | |
_parser () | |
virtual | ~_parser () |
virtual void | late_init (uint8_t b) |
virtual uint64_t | get_last_signal () const |
virtual uint64_t | get_last_change () const |
virtual uint8_t | get_valid_channels () const |
virtual uint16_t | get_val (uint8_t ch) const |
virtual bool | bind (int dsmMode) const |
Protected Member Functions | |
void | parse_pulses (void) |
void | start_ioc (void) |
Private Member Functions | |
void | rxIntRC (uint16_t value0, uint16_t value1, bool state) |
bool | _process_ppmsum_pulse (uint16_t value) |
void | _process_dsm_pulse (uint16_t width_s0, uint16_t width_s1) |
void | _process_sbus_pulse (uint16_t width_s0, uint16_t width_s1, struct PPM_parser::SbusState &state) |
void | add_dsm_input () |
void | add_sbus_input () |
Private Attributes | |
uint8_t | _ch |
Pulse | last_pulse |
uint8_t | channel_ctr |
bool | _got_ppm |
bool | _got_dsm |
bool | _was_ppm |
bool | _was_dsm |
struct F4Light::PPM_parser::DSM | dsm |
struct F4Light::PPM_parser::SBUS | sbus |
struct SbusState | sbus_state [2] |
struct F4Light::PPM_parser::DSM_State | dsm_state |
enum BOARD_RC_MODE | _rc_mode |
uint8_t | _ioc |
Additional Inherited Members | |
Protected Attributes inherited from F4Light::_parser | |
volatile uint64_t | _last_signal |
volatile uint16_t | _val [F4Light_RC_INPUT_NUM_CHANNELS] |
uint64_t | _last_change |
volatile uint8_t | _channels |
Definition at line 9 of file RC_PPM_parser.h.
|
inline |
|
private |
Definition at line 243 of file RC_PPM_parser.cpp.
Referenced by rxIntRC().
|
private |
Definition at line 103 of file RC_PPM_parser.cpp.
Referenced by rxIntRC().
|
private |
Definition at line 140 of file RC_PPM_parser.cpp.
Referenced by rxIntRC().
|
private |
|
private |
|
virtual |
Implements F4Light::_parser.
Definition at line 28 of file RC_PPM_parser.cpp.
Referenced by PPM_parser().
|
protected |
Definition at line 56 of file RC_PPM_parser.cpp.
Referenced by init().
|
private |
Definition at line 72 of file RC_PPM_parser.cpp.
Referenced by parse_pulses().
|
protected |
Definition at line 52 of file RC_PPM_parser.cpp.
Referenced by init().
|
private |
Definition at line 44 of file RC_PPM_parser.h.
Referenced by _process_dsm_pulse(), init(), and parse_pulses().
|
private |
Definition at line 50 of file RC_PPM_parser.h.
Referenced by _process_dsm_pulse(), _process_sbus_pulse(), and PPM_parser().
|
private |
Definition at line 49 of file RC_PPM_parser.h.
Referenced by _process_ppmsum_pulse(), and PPM_parser().
|
private |
Definition at line 81 of file RC_PPM_parser.h.
Referenced by init(), and start_ioc().
|
private |
Definition at line 79 of file RC_PPM_parser.h.
Referenced by _process_dsm_pulse(), _process_sbus_pulse(), PPM_parser(), and rxIntRC().
|
private |
Definition at line 53 of file RC_PPM_parser.h.
Referenced by PPM_parser().
|
private |
Definition at line 52 of file RC_PPM_parser.h.
Referenced by PPM_parser().
|
private |
Definition at line 47 of file RC_PPM_parser.h.
Referenced by _process_ppmsum_pulse(), and init().
|
private |
|
private |
Referenced by _process_dsm_pulse().
|
private |
Definition at line 46 of file RC_PPM_parser.h.
Referenced by init(), and parse_pulses().
|
private |
|
private |
Definition at line 71 of file RC_PPM_parser.h.