APM:Libraries
|
#include <RC_parser.h>
Public Member Functions | |
_parser () | |
virtual | ~_parser () |
virtual void | init (uint8_t ch)=0 |
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 Attributes | |
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 5 of file RC_parser.h.
|
inline |
Definition at line 7 of file RC_parser.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in F4Light::DSM_parser.
Definition at line 18 of file RC_parser.h.
Referenced by F4Light::RCInput::rc_bind().
|
inlinevirtual |
Definition at line 14 of file RC_parser.h.
Referenced by F4Light::RCInput::read().
|
inlinevirtual |
Definition at line 13 of file RC_parser.h.
Referenced by F4Light::RCInput::new_input(), and F4Light::RCInput::read().
|
inlinevirtual |
Definition at line 16 of file RC_parser.h.
Referenced by F4Light::RCInput::_read_ppm(), and F4Light::RCInput::read().
|
inlinevirtual |
Definition at line 15 of file RC_parser.h.
Referenced by F4Light::RCInput::_read_ppm(), and F4Light::RCInput::read().
|
pure virtual |
Implemented in F4Light::PPM_parser, F4Light::DSM_parser, and F4Light::SBUS_parser.
Referenced by F4Light::RCInput::init(), and ~_parser().
|
inlinevirtual |
Reimplemented in F4Light::SBUS_parser.
Definition at line 11 of file RC_parser.h.
Referenced by F4Light::RCInput::late_init().
|
protected |
Definition at line 24 of file RC_parser.h.
Referenced by F4Light::PPM_parser::_process_dsm_pulse(), F4Light::PPM_parser::_process_ppmsum_pulse(), F4Light::PPM_parser::_process_sbus_pulse(), get_valid_channels(), F4Light::DSM_parser::init(), and F4Light::PPM_parser::init().
|
protected |
Definition at line 23 of file RC_parser.h.
Referenced by F4Light::PPM_parser::_process_dsm_pulse(), F4Light::PPM_parser::_process_ppmsum_pulse(), F4Light::PPM_parser::_process_sbus_pulse(), get_last_change(), F4Light::DSM_parser::init(), and F4Light::PPM_parser::init().
|
protected |
Definition at line 21 of file RC_parser.h.
Referenced by F4Light::PPM_parser::_process_dsm_pulse(), F4Light::PPM_parser::_process_ppmsum_pulse(), F4Light::PPM_parser::_process_sbus_pulse(), get_last_signal(), F4Light::DSM_parser::init(), and F4Light::PPM_parser::init().
|
protected |
Definition at line 22 of file RC_parser.h.
Referenced by F4Light::PPM_parser::_process_dsm_pulse(), F4Light::PPM_parser::_process_ppmsum_pulse(), F4Light::PPM_parser::_process_sbus_pulse(), get_val(), F4Light::DSM_parser::init(), and F4Light::PPM_parser::init().