7#include <furi_hal_gpio.h>
14 SignalReaderEventTypeHalfBufferFilled,
15 SignalReaderEventTypeFullBufferFilled,
16} SignalReaderEventType;
24 SignalReaderEventType type;
29 SignalReaderTimeUnit64Mhz,
30} SignalReaderTimeUnit;
33 SignalReaderPolarityNormal,
34 SignalReaderPolarityInverted,
35} SignalReaderPolarity;
38 SignalReaderTriggerNone,
39 SignalReaderTriggerRisingFallingEdge,
50void signal_reader_set_pull(
SignalReader* instance, GpioPull pull);
52void signal_reader_set_polarity(
SignalReader* instance, SignalReaderPolarity polarity);
54void signal_reader_set_sample_rate(
56 SignalReaderTimeUnit time_unit,
59void signal_reader_set_trigger(
SignalReader* instance, SignalReaderTrigger trigger);
61void signal_reader_start(
SignalReader* instance, SignalReaderCallback callback,
void* context);
Gpio structure.
Definition furi_hal_gpio.h:161
Definition signal_reader.h:18
Definition signal_reader.h:23
Definition signal_reader.c:31