9#include <driver/rmt_rx.h>
13namespace remote_receiver {
15#if defined(USE_ESP8266) || defined(USE_LIBRETINY)
32#elif defined(USE_ESP32)
59 void setup()
override;
74 void decode_rmt_(rmt_symbol_word_t *item,
size_t item_count);
83#if defined(USE_ESP8266) || defined(USE_LIBRETINY) || defined(USE_ESP32)
Helper class to request loop() to be called as fast as possible.
Copy of GPIOPin that is safe to use from ISRs (with no virtual functions)
RemoteReceiverBase(InternalGPIOPin *pin)
void set_filter_symbols(uint32_t filter_symbols)
RemoteReceiverComponentStore store_
void set_with_dma(bool with_dma)
HighFrequencyLoopRequester high_freq_
void set_buffer_size(uint32_t buffer_size)
void dump_config() override
void decode_rmt_(rmt_symbol_word_t *item, size_t item_count)
RemoteReceiverComponent(InternalGPIOPin *pin)
void set_receive_symbols(uint32_t receive_symbols)
void set_filter_us(uint32_t filter_us)
rmt_channel_handle_t channel_
uint32_t receive_symbols_
std::string error_string_
void set_idle_us(uint32_t idle_us)
Providing packet encoding functions for exchanging data with a remote host.
volatile uint32_t * buffer
Stores the time (in micros) that the leading/falling edge happened at.
rmt_receive_config_t config
static void gpio_intr(RemoteReceiverComponentStore *arg)
uint32_t buffer_read_at
The position last read from.
volatile uint32_t buffer_read
The position last read from.
volatile uint32_t buffer_write_at
The position last written to.
volatile uint32_t buffer_write
The position last written to.