ESPHome  2022.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)
 
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 (uint8_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 (uint8_t tolerance)
 
- 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
bool call_listeners_ ()
 
void call_dumpers_ ()
 
void call_listeners_dumpers_ ()
 

Protected Attributes

RingbufHandle_t ringbuf_
 
esp_err_t error_code_ {ESP_OK}
 
RemoteReceiverComponentStore store_
 
HighFrequencyLoopRequester high_freq_
 
uint32_t buffer_size_ {}
 
uint8_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_
 
std::vector< int32_t > temp_
 
uint8_t tolerance_ {25}
 
- Protected Attributes inherited from esphome::remote_base::RemoteComponentBase
InternalGPIOPinpin_
 

Detailed Description

Definition at line 28 of file remote_receiver.h.

Constructor & Destructor Documentation

◆ RemoteReceiverComponent() [1/2]

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

Definition at line 37 of file remote_receiver.h.

◆ RemoteReceiverComponent() [2/2]

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

Definition at line 40 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 85 of file remote_receiver_esp32.cpp.

◆ dump_config()

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

Definition at line 53 of file remote_receiver_esp32.cpp.

◆ get_setup_priority()

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

Definition at line 45 of file remote_receiver.h.

◆ loop()

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

Definition at line 71 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 47 of file remote_receiver.h.

◆ set_filter_us()

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

Definition at line 48 of file remote_receiver.h.

◆ set_idle_us()

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

Definition at line 49 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 63 of file remote_receiver.h.

◆ error_code_

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

Definition at line 55 of file remote_receiver.h.

◆ filter_us_

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

Definition at line 64 of file remote_receiver.h.

◆ high_freq_

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

Definition at line 60 of file remote_receiver.h.

◆ idle_us_

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

Definition at line 65 of file remote_receiver.h.

◆ ringbuf_

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

Definition at line 54 of file remote_receiver.h.

◆ store_

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

Definition at line 59 of file remote_receiver.h.


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