23 #if HAL_USE_ICU == TRUE 25 #define INPUT_CAPTURE_FREQUENCY 1000000 //capture unit in microseconds 26 #define MAX_SIGNAL_TRANSITIONS 256 27 #define DEFAULT_BOUNCE_BUF_SIZE 32 32 bool read(uint32_t &widths0, uint32_t &widths1);
42 const stm32_dma_stream_t*
dma;
bool attach_capture_timer(ICUDriver *icu_drv, icuchannel_t chan, uint8_t dma_stream, uint32_t dma_channel)
ObjectBuffer< uint32_t > sigbuf
uint8_t num_timer_channels
bool read(uint32_t &widths0, uint32_t &widths1)
enum Dma_stream dma_stream
#define DEFAULT_BOUNCE_BUF_SIZE
AP_HAL::AnalogSource * chan
uint16_t _bounce_buf_size
static void _irq_handler(void *self, uint32_t flags)
bool set_bounce_buf_size(uint16_t buf_size)
const stm32_dma_stream_t * dma
#define MAX_SIGNAL_TRANSITIONS