APM:Libraries
|
#include <SoftSigReader.h>
Public Member Functions | |
bool | attach_capture_timer (ICUDriver *icu_drv, icuchannel_t chan, uint8_t dma_stream, uint32_t dma_channel) |
bool | read (uint32_t &widths0, uint32_t &widths1) |
bool | set_bounce_buf_size (uint16_t buf_size) |
Static Private Member Functions | |
static void | _irq_handler (void *self, uint32_t flags) |
Private Attributes | |
uint32_t * | signal |
uint8_t | num_timer_channels |
ObjectBuffer< uint32_t > | sigbuf {MAX_SIGNAL_TRANSITIONS} |
uint8_t | enable_chan_mask |
uint8_t | max_pulse_width |
const stm32_dma_stream_t * | dma |
ICUConfig | icucfg |
ICUDriver * | _icu_drv = nullptr |
uint16_t | _bounce_buf_size = DEFAULT_BOUNCE_BUF_SIZE |
bool | need_swap |
Definition at line 29 of file SoftSigReader.h.
|
staticprivate |
Definition at line 90 of file SoftSigReader.cpp.
Referenced by attach_capture_timer().
bool SoftSigReader::attach_capture_timer | ( | ICUDriver * | icu_drv, |
icuchannel_t | chan, | ||
uint8_t | dma_stream, | ||
uint32_t | dma_channel | ||
) |
Definition at line 28 of file SoftSigReader.cpp.
Referenced by ChibiOS::RCInput::init().
bool SoftSigReader::read | ( | uint32_t & | widths0, |
uint32_t & | widths1 | ||
) |
Definition at line 101 of file SoftSigReader.cpp.
Referenced by ChibiOS::RCInput::_timer_tick().
bool SoftSigReader::set_bounce_buf_size | ( | uint16_t | buf_size | ) |
|
private |
Definition at line 45 of file SoftSigReader.h.
Referenced by _irq_handler(), attach_capture_timer(), and set_bounce_buf_size().
|
private |
Definition at line 44 of file SoftSigReader.h.
Referenced by attach_capture_timer().
|
private |
Definition at line 42 of file SoftSigReader.h.
Referenced by _irq_handler(), and attach_capture_timer().
|
private |
Definition at line 40 of file SoftSigReader.h.
|
private |
Definition at line 43 of file SoftSigReader.h.
Referenced by attach_capture_timer().
|
private |
Definition at line 41 of file SoftSigReader.h.
|
private |
Definition at line 46 of file SoftSigReader.h.
Referenced by attach_capture_timer(), and read().
|
private |
Definition at line 38 of file SoftSigReader.h.
|
private |
Definition at line 39 of file SoftSigReader.h.
Referenced by _irq_handler(), and read().
|
private |
Definition at line 36 of file SoftSigReader.h.
Referenced by _irq_handler(), attach_capture_timer(), and set_bounce_buf_size().