8#if defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR >= 5
9#include <driver/rmt_rx.h>
13namespace remote_receiver {
15#if defined(USE_ESP8266) || defined(USE_LIBRETINY)
32#elif defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR >= 5
58#if defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR < 5
67 void setup()
override;
72#if defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR >= 5
83#if ESP_IDF_VERSION_MAJOR >= 5
97#if defined(USE_ESP8266) || defined(USE_LIBRETINY) || (defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR >= 5)
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)
RemoteRMTChannel(uint8_t mem_block_num=1)
RemoteReceiverBase(InternalGPIOPin *pin)
void set_filter_symbols(uint32_t filter_symbols)
RemoteReceiverComponent(InternalGPIOPin *pin, rmt_channel_t channel, uint8_t mem_block_num=1)
float get_setup_priority() const override
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)
void decode_rmt_(rmt_item32_t *item, size_t item_count)
RemoteReceiverComponent(InternalGPIOPin *pin, uint8_t mem_block_num=1)
rmt_channel_handle_t channel_
uint32_t receive_symbols_
std::string error_string_
void set_idle_us(uint32_t idle_us)
const float DATA
For components that import data from directly connected sensors like DHT.
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.