ESPHome  2024.9.2
Public Member Functions | Protected Member Functions | Protected Attributes
esphome::remote_receiver::RemoteReceiverComponent Class Reference

#include <remote_receiver.h>

Inheritance diagram for esphome::remote_receiver::RemoteReceiverComponent:
esphome::remote_base::RemoteReceiverBase esphome::remote_base::RemoteComponentBase

Public Member Functions

 RemoteReceiverComponent (InternalGPIOPin *pin, uint8_t mem_block_num=1)
 
 RemoteReceiverComponent (InternalGPIOPin *pin, rmt_channel_t channel, uint8_t mem_block_num=1)
 
 RemoteReceiverComponent (InternalGPIOPin *pin)
 
void setup () override
 
void dump_config () override
 
void loop () override
 
float get_setup_priority () const override
 
void set_buffer_size (uint32_t buffer_size)
 
void set_filter_us (uint32_t filter_us)
 
void set_idle_us (uint32_t idle_us)
 
- Public Member Functions inherited from esphome::remote_base::RemoteReceiverBase
 RemoteReceiverBase (InternalGPIOPin *pin)
 
void register_listener (RemoteReceiverListener *listener)
 
void register_dumper (RemoteReceiverDumperBase *dumper)
 
void set_tolerance (uint32_t tolerance, ToleranceMode tolerance_mode)
 
- Public Member Functions inherited from esphome::remote_base::RemoteComponentBase
 RemoteComponentBase (InternalGPIOPin *pin)
 

Protected Member Functions

void decode_rmt_ (rmt_item32_t *item, size_t len)
 
- Protected Member Functions inherited from esphome::remote_base::RemoteReceiverBase
void call_listeners_ ()
 
void call_dumpers_ ()
 
void call_listeners_dumpers_ ()
 

Protected Attributes

RingbufHandle_t ringbuf_
 
esp_err_t error_code_ {ESP_OK}
 
std::string error_string_ {""}
 
RemoteReceiverComponentStore store_
 
HighFrequencyLoopRequester high_freq_
 
uint32_t buffer_size_ {}
 
uint32_t filter_us_ {10}
 
uint32_t idle_us_ {10000}
 
- Protected Attributes inherited from esphome::remote_base::RemoteReceiverBase
std::vector< RemoteReceiverListener * > listeners_
 
std::vector< RemoteReceiverDumperBase * > dumpers_
 
std::vector< RemoteReceiverDumperBase * > secondary_dumpers_
 
RawTimings temp_
 
uint32_t tolerance_ {25}
 
ToleranceMode tolerance_mode_ {TOLERANCE_MODE_PERCENTAGE}
 
- Protected Attributes inherited from esphome::remote_base::RemoteComponentBase
InternalGPIOPinpin_
 

Detailed Description

Definition at line 30 of file remote_receiver.h.

Constructor & Destructor Documentation

◆ RemoteReceiverComponent() [1/3]

esphome::remote_receiver::RemoteReceiverComponent::RemoteReceiverComponent ( InternalGPIOPin pin,
uint8_t  mem_block_num = 1 
)
inline

Definition at line 39 of file remote_receiver.h.

◆ RemoteReceiverComponent() [2/3]

esphome::remote_receiver::RemoteReceiverComponent::RemoteReceiverComponent ( InternalGPIOPin pin,
rmt_channel_t  channel,
uint8_t  mem_block_num = 1 
)
inline

Definition at line 42 of file remote_receiver.h.

◆ RemoteReceiverComponent() [3/3]

esphome::remote_receiver::RemoteReceiverComponent::RemoteReceiverComponent ( InternalGPIOPin pin)
inline

Definition at line 45 of file remote_receiver.h.

Member Function Documentation

◆ decode_rmt_()

void esphome::remote_receiver::RemoteReceiverComponent::decode_rmt_ ( rmt_item32_t *  item,
size_t  len 
)
protected

Definition at line 97 of file remote_receiver_esp32.cpp.

◆ dump_config()

void esphome::remote_receiver::RemoteReceiverComponent::dump_config ( )
override

Definition at line 63 of file remote_receiver_esp32.cpp.

◆ get_setup_priority()

float esphome::remote_receiver::RemoteReceiverComponent::get_setup_priority ( ) const
inlineoverride

Definition at line 50 of file remote_receiver.h.

◆ loop()

void esphome::remote_receiver::RemoteReceiverComponent::loop ( )
override

Definition at line 83 of file remote_receiver_esp32.cpp.

◆ set_buffer_size()

void esphome::remote_receiver::RemoteReceiverComponent::set_buffer_size ( uint32_t  buffer_size)
inline

Definition at line 52 of file remote_receiver.h.

◆ set_filter_us()

void esphome::remote_receiver::RemoteReceiverComponent::set_filter_us ( uint32_t  filter_us)
inline

Definition at line 53 of file remote_receiver.h.

◆ set_idle_us()

void esphome::remote_receiver::RemoteReceiverComponent::set_idle_us ( uint32_t  idle_us)
inline

Definition at line 54 of file remote_receiver.h.

◆ setup()

void esphome::remote_receiver::RemoteReceiverComponent::setup ( )
override

Definition at line 12 of file remote_receiver_esp32.cpp.

Field Documentation

◆ buffer_size_

uint32_t esphome::remote_receiver::RemoteReceiverComponent::buffer_size_ {}
protected

Definition at line 69 of file remote_receiver.h.

◆ error_code_

esp_err_t esphome::remote_receiver::RemoteReceiverComponent::error_code_ {ESP_OK}
protected

Definition at line 60 of file remote_receiver.h.

◆ error_string_

std::string esphome::remote_receiver::RemoteReceiverComponent::error_string_ {""}
protected

Definition at line 61 of file remote_receiver.h.

◆ filter_us_

uint32_t esphome::remote_receiver::RemoteReceiverComponent::filter_us_ {10}
protected

Definition at line 70 of file remote_receiver.h.

◆ high_freq_

HighFrequencyLoopRequester esphome::remote_receiver::RemoteReceiverComponent::high_freq_
protected

Definition at line 66 of file remote_receiver.h.

◆ idle_us_

uint32_t esphome::remote_receiver::RemoteReceiverComponent::idle_us_ {10000}
protected

Definition at line 71 of file remote_receiver.h.

◆ ringbuf_

RingbufHandle_t esphome::remote_receiver::RemoteReceiverComponent::ringbuf_
protected

Definition at line 59 of file remote_receiver.h.

◆ store_

RemoteReceiverComponentStore esphome::remote_receiver::RemoteReceiverComponent::store_
protected

Definition at line 65 of file remote_receiver.h.


The documentation for this class was generated from the following files: