#include <RCOutput.h>
|
void | init () override |
|
void | set_freq (uint32_t chmask, uint16_t freq_hz) override |
|
uint16_t | get_freq (uint8_t ch) override |
|
void | enable_ch (uint8_t ch) override |
|
void | disable_ch (uint8_t ch) override |
|
void | write (uint8_t ch, uint16_t period_us) override |
|
void | write (uint8_t ch, uint16_t *period_us, uint8_t len) |
|
uint16_t | read (uint8_t ch) override |
|
void | read (uint16_t *period_us, uint8_t len) override |
|
void | cork () override |
|
void | push () override |
|
void | set_output_mode (uint16_t mask, enum output_mode mode) override |
|
virtual uint16_t | read_last_sent (uint8_t ch) |
|
virtual void | read_last_sent (uint16_t *period_us, uint8_t len) |
|
virtual void | set_safety_pwm (uint32_t chmask, uint16_t period_us) |
|
virtual void | set_failsafe_pwm (uint32_t chmask, uint16_t period_us) |
|
virtual bool | force_safety_on (void) |
|
virtual void | force_safety_off (void) |
|
virtual void | force_safety_no_wait (void) |
|
virtual void | set_esc_scaling (uint16_t min_pwm, uint16_t max_pwm) |
|
virtual bool | get_esc_scaling (uint16_t &min_pwm, uint16_t &max_pwm) |
|
virtual float | scale_esc_to_unity (uint16_t pwm) |
|
virtual bool | enable_px4io_sbus_out (uint16_t rate_hz) |
|
virtual void | timer_tick (void) |
|
virtual bool | serial_setup_output (uint8_t chan, uint32_t baudrate) |
|
virtual bool | serial_write_bytes (const uint8_t *bytes, uint16_t len) |
|
virtual uint16_t | serial_read_bytes (uint8_t *buf, uint16_t len) |
|
virtual void | serial_end (void) |
|
virtual void | set_default_rate (uint16_t rate_hz) |
|
virtual void | set_telem_request_mask (uint16_t mask) |
|
Definition at line 42 of file RCOutput.h.
◆ _init_alt_channels()
static void F4Light::RCOutput::_init_alt_channels |
( |
| ) |
|
|
inlinestaticprivate |
◆ _set_output_mode()
void RCOutput::_set_output_mode |
( |
enum output_mode |
mode | ) |
|
|
static |
◆ _set_pin_output_mode()
void RCOutput::_set_pin_output_mode |
( |
uint8_t |
ch | ) |
|
|
staticprivate |
◆ _timer3_isr_event()
static void F4Light::RCOutput::_timer3_isr_event |
( |
TIM_TypeDef * |
| ) |
|
|
staticprivate |
◆ _timer_period()
static uint32_t F4Light::RCOutput::_timer_period |
( |
uint16_t |
speed_hz, |
|
|
const timer_dev * |
dev |
|
) |
| |
|
inlinestatic |
◆ cork()
void RCOutput::cork |
( |
void |
| ) |
|
|
inlineoverridevirtual |
◆ disable_ch()
void RCOutput::disable_ch |
( |
uint8_t |
ch | ) |
|
|
overridevirtual |
◆ do_4way_if()
◆ enable_ch()
void RCOutput::enable_ch |
( |
uint8_t |
ch | ) |
|
|
overridevirtual |
◆ fill_timers()
void RCOutput::fill_timers |
( |
| ) |
|
|
staticprivate |
◆ get_freq()
uint16_t RCOutput::get_freq |
( |
uint8_t |
ch | ) |
|
|
overridevirtual |
◆ init()
void RCOutput::init |
( |
void |
| ) |
|
|
overridevirtual |
◆ init_channel()
void RCOutput::init_channel |
( |
uint8_t |
ch | ) |
|
|
staticprivate |
◆ init_channels()
void RCOutput::init_channels |
( |
| ) |
|
|
staticprivate |
◆ InitPWM()
void RCOutput::InitPWM |
( |
void |
| ) |
|
|
staticprivate |
◆ is_servo_enabled()
bool RCOutput::is_servo_enabled |
( |
uint8_t |
ch | ) |
|
|
staticprivate |
◆ lateInit()
void RCOutput::lateInit |
( |
| ) |
|
|
static |
◆ push()
void RCOutput::push |
( |
void |
| ) |
|
|
overridevirtual |
◆ read() [1/2]
uint16_t RCOutput::read |
( |
uint8_t |
ch | ) |
|
|
overridevirtual |
◆ read() [2/2]
void RCOutput::read |
( |
uint16_t * |
period_us, |
|
|
uint8_t |
len |
|
) |
| |
|
overridevirtual |
◆ set_freq()
void RCOutput::set_freq |
( |
uint32_t |
chmask, |
|
|
uint16_t |
freq_hz |
|
) |
| |
|
overridevirtual |
◆ set_output_mode()
void F4Light::RCOutput::set_output_mode |
( |
uint16_t |
mask, |
|
|
enum output_mode |
mode |
|
) |
| |
|
inlineoverridevirtual |
◆ set_pwm()
void RCOutput::set_pwm |
( |
uint8_t |
ch, |
|
|
uint16_t |
pwm |
|
) |
| |
|
staticprivate |
◆ write() [1/2]
void RCOutput::write |
( |
uint8_t |
ch, |
|
|
uint16_t |
period_us |
|
) |
| |
|
overridevirtual |
◆ write() [2/2]
void RCOutput::write |
( |
uint8_t |
ch, |
|
|
uint16_t * |
period_us, |
|
|
uint8_t |
len |
|
) |
| |
◆ _corked
bool RCOutput::_corked =0 |
|
staticprivate |
◆ _enabled_channels
uint16_t RCOutput::_enabled_channels =0 |
|
staticprivate |
◆ _freq
◆ _initialized
uint8_t RCOutput::_initialized |
|
staticprivate |
◆ _mode
◆ _once_mode
bool RCOutput::_once_mode = false |
|
staticprivate |
◆ _period
◆ _pwm_type
uint8_t RCOutput::_pwm_type =0 |
|
staticprivate |
◆ _sbus_enabled
bool RCOutput::_sbus_enabled =0 |
|
staticprivate |
◆ _servo_mask
uint8_t RCOutput::_servo_mask =0 |
|
staticprivate |
◆ _timer2_preload
uint32_t RCOutput::_timer2_preload |
|
staticprivate |
◆ _timer3_preload
uint16_t RCOutput::_timer3_preload |
|
staticprivate |
◆ _used_channels
uint8_t RCOutput::_used_channels =0 |
|
staticprivate |
◆ num_out_timers
uint8_t F4Light::RCOutput::num_out_timers |
|
staticprivate |
◆ out_timers
The documentation for this class was generated from the following files: