APM:Libraries
|
#include <SoftSigReaderInt.h>
Public Member Functions | |
SoftSigReaderInt () | |
SoftSigReaderInt (const SoftSigReaderInt &other)=delete | |
SoftSigReaderInt & | operator= (const SoftSigReaderInt &)=delete |
void | init (EICUDriver *icu_drv, eicuchannel_t chan) |
bool | read (uint32_t &widths0, uint32_t &widths1) |
Static Public Member Functions | |
static SoftSigReaderInt * | get_instance (void) |
Static Private Member Functions | |
static void | _irq_handler (EICUDriver *eicup, eicuchannel_t channel) |
Private Attributes | |
ObjectBuffer< uint16_t > | sigbuf {MAX_SIGNAL_TRANSITIONS} |
EICUConfig | icucfg |
EICUChannelConfig | channel_config |
EICUDriver * | _icu_drv = nullptr |
uint16_t | last_value |
Static Private Attributes | |
static SoftSigReaderInt * | _instance |
Definition at line 28 of file SoftSigReaderInt.h.
SoftSigReaderInt::SoftSigReaderInt | ( | ) |
Definition at line 33 of file SoftSigReaderInt.cpp.
|
delete |
|
staticprivate |
Definition at line 60 of file SoftSigReaderInt.cpp.
Referenced by init().
|
inlinestatic |
void SoftSigReaderInt::init | ( | EICUDriver * | icu_drv, |
eicuchannel_t | chan | ||
) |
Definition at line 38 of file SoftSigReaderInt.cpp.
Referenced by get_instance().
|
delete |
bool SoftSigReaderInt::read | ( | uint32_t & | widths0, |
uint32_t & | widths1 | ||
) |
Definition at line 67 of file SoftSigReaderInt.cpp.
Referenced by get_instance().
|
private |
Definition at line 52 of file SoftSigReaderInt.h.
Referenced by init().
|
staticprivate |
Definition at line 45 of file SoftSigReaderInt.h.
Referenced by _irq_handler(), get_instance(), and SoftSigReaderInt().
|
private |
Definition at line 51 of file SoftSigReaderInt.h.
Referenced by init().
|
private |
Definition at line 50 of file SoftSigReaderInt.h.
Referenced by init().
|
private |
Definition at line 53 of file SoftSigReaderInt.h.
|
private |
Definition at line 49 of file SoftSigReaderInt.h.
Referenced by _irq_handler(), and read().