#include <RCInput.h>
Definition at line 34 of file RCInput.h.
◆ RCInput()
◆ _read_dsm()
uint16_t F4Light::RCInput::_read_dsm |
( |
uint8_t |
ch | ) |
|
|
private |
◆ _read_ppm()
uint16_t RCInput::_read_ppm |
( |
uint8_t |
ch, |
|
|
uint8_t |
n |
|
) |
| |
|
private |
◆ clear_overrides()
void RCInput::clear_overrides |
( |
| ) |
|
|
overridevirtual |
◆ init()
Call init from the platform hal instance init, so that both the type of the RCInput implementation and init argument (e.g. ISRRegistry) are known to the programmer. (It's too difficult to describe this dependency in the C++ type system.)
Implements AP_HAL::RCInput.
Definition at line 88 of file RCInput.cpp.
◆ late_init()
void RCInput::late_init |
( |
uint8_t |
b | ) |
|
|
static |
◆ new_input()
bool RCInput::new_input |
( |
| ) |
|
|
overridevirtual |
◆ num_channels()
uint8_t RCInput::num_channels |
( |
| ) |
|
|
overridevirtual |
◆ rc_bind()
bool RCInput::rc_bind |
( |
int |
dsmMode | ) |
|
|
overridevirtual |
◆ read() [1/2]
uint16_t RCInput::read |
( |
uint8_t |
ch | ) |
|
|
overridevirtual |
◆ read() [2/2]
uint8_t RCInput::read |
( |
uint16_t * |
periods, |
|
|
uint8_t |
len |
|
) |
| |
|
overridevirtual |
◆ set_override()
bool RCInput::set_override |
( |
uint8_t |
channel, |
|
|
int16_t |
override |
|
) |
| |
|
overridevirtual |
Overrides: these are really grody and don't belong here but we need them at the moment to make the port work. case v of: v == -1 -> no change to this channel v == 0 -> do not override this channel v > 0 -> set v as override.
Implements AP_HAL::RCInput.
Definition at line 318 of file RCInput.cpp.
Referenced by clear_overrides().
◆ _last_read
uint64_t F4Light::RCInput::_last_read |
|
staticprivate |
◆ _last_read_from
uint8_t F4Light::RCInput::_last_read_from |
|
staticprivate |
◆ _override
uint16_t RCInput::_override |
|
staticprivate |
◆ _override_valid
bool RCInput::_override_valid |
|
staticprivate |
◆ _valid_channels
uint8_t F4Light::RCInput::_valid_channels |
|
staticprivate |
◆ aibao_fs_flag
bool F4Light::RCInput::aibao_fs_flag |
|
staticprivate |
◆ fs_flag
bool F4Light::RCInput::fs_flag |
|
staticprivate |
◆ is_PPM
bool F4Light::RCInput::is_PPM |
|
staticprivate |
◆ last_4
uint16_t RCInput::last_4 =0 |
|
staticprivate |
◆ max_num_pulses
uint16_t F4Light::RCInput::max_num_pulses |
|
static |
◆ num_parsers
uint8_t F4Light::RCInput::num_parsers |
|
staticprivate |
◆ parsers
◆ rc_failsafe_enabled
bool F4Light::RCInput::rc_failsafe_enabled |
|
staticprivate |
The documentation for this class was generated from the following files: