7#include <furi_hal_gpio.h>
13#define PULSE_READER_NO_EDGE (0xFFFFFFFFUL)
14#define PULSE_READER_LOST_EDGE (0xFFFFFFFEUL)
15#define F_TIM2 (64000000UL)
22 PulseReaderUnitPicosecond,
23 PulseReaderUnitNanosecond,
24 PulseReaderUnitMicrosecond,
76uint32_t pulse_reader_receive(
PulseReader* signal,
int timeout_us);
95void pulse_reader_set_timebase(
PulseReader* signal, PulseReaderUnit unit);
108void pulse_reader_set_bittime(
PulseReader* signal, uint32_t bit_time);
118void pulse_reader_set_pull(
PulseReader* signal, GpioPull pull);
Gpio structure.
Definition furi_hal_gpio.h:161
Definition pulse_reader.c:12