22 #if HAL_USE_EICU == TRUE 24 #define INPUT_CAPTURE_FREQUENCY 1000000 //capture unit in microseconds 25 #define MAX_SIGNAL_TRANSITIONS 256 41 void init(EICUDriver* icu_drv, eicuchannel_t
chan);
42 bool read(uint32_t &widths0, uint32_t &widths1);
47 static void _irq_handler(EICUDriver *eicup, eicuchannel_t channel);
56 #endif // HAL_USE_EICU static void _irq_handler(EICUDriver *eicup, eicuchannel_t channel)
#define MAX_SIGNAL_TRANSITIONS
static SoftSigReaderInt * get_instance(void)
void init(EICUDriver *icu_drv, eicuchannel_t chan)
ObjectBuffer< uint16_t > sigbuf
SoftSigReaderInt & operator=(const SoftSigReaderInt &)=delete
EICUChannelConfig channel_config
bool read(uint32_t &widths0, uint32_t &widths1)
AP_HAL::AnalogSource * chan
static SoftSigReaderInt * _instance