ESPHome 2025.5.0
|
#include <remote_receiver.h>
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_filter_symbols (uint32_t filter_symbols) |
void | set_receive_symbols (uint32_t receive_symbols) |
void | set_with_dma (bool with_dma) |
void | set_buffer_size (uint32_t buffer_size) |
void | set_filter_us (uint32_t filter_us) |
void | set_idle_us (uint32_t idle_us) |
![]() | |
RemoteReceiverBase (InternalGPIOPin *pin) | |
void | register_listener (RemoteReceiverListener *listener) |
void | register_dumper (RemoteReceiverDumperBase *dumper) |
void | set_tolerance (uint32_t tolerance, ToleranceMode tolerance_mode) |
![]() | |
RemoteComponentBase (InternalGPIOPin *pin) | |
![]() | |
float | get_actual_setup_priority () const |
void | set_setup_priority (float priority) |
virtual float | get_loop_priority () const |
priority of loop(). | |
void | call () |
virtual void | on_shutdown () |
virtual void | on_safe_shutdown () |
uint32_t | get_component_state () const |
virtual void | mark_failed () |
Mark this component as failed. | |
void | mark_failed (const char *message) |
bool | is_failed () const |
bool | is_ready () const |
virtual bool | can_proceed () |
bool | status_has_warning () const |
bool | status_has_error () const |
void | status_set_warning (const char *message="unspecified") |
void | status_set_error (const char *message="unspecified") |
void | status_clear_warning () |
void | status_clear_error () |
void | status_momentary_warning (const std::string &name, uint32_t length=5000) |
void | status_momentary_error (const std::string &name, uint32_t length=5000) |
bool | has_overridden_loop () const |
void | set_component_source (const char *source) |
Set where this component was loaded from for some debug messages. | |
const char * | get_component_source () const |
Get the integration where this component was declared as a string. | |
bool | should_warn_of_blocking (uint32_t blocking_time) |
![]() | |
void | set_clock_resolution (uint32_t clock_resolution) |
void | set_rmt_symbols (uint32_t rmt_symbols) |
RemoteRMTChannel (uint8_t mem_block_num=1) | |
RemoteRMTChannel (rmt_channel_t channel, uint8_t mem_block_num=1) | |
void | config_rmt (rmt_config_t &rmt) |
void | set_clock_divider (uint8_t clock_divider) |
Protected Member Functions | |
void | decode_rmt_ (rmt_symbol_word_t *item, size_t item_count) |
void | decode_rmt_ (rmt_item32_t *item, size_t item_count) |
![]() | |
void | call_listeners_ () |
void | call_dumpers_ () |
void | call_listeners_dumpers_ () |
![]() | |
virtual void | call_loop () |
virtual void | call_setup () |
virtual void | call_dump_config () |
void | set_interval (const std::string &name, uint32_t interval, std::function< void()> &&f) |
Set an interval function with a unique name. | |
void | set_interval (uint32_t interval, std::function< void()> &&f) |
bool | cancel_interval (const std::string &name) |
Cancel an interval function. | |
void | set_retry (const std::string &name, uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult(uint8_t)> &&f, float backoff_increase_factor=1.0f) |
Set an retry function with a unique name. | |
void | set_retry (uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult(uint8_t)> &&f, float backoff_increase_factor=1.0f) |
bool | cancel_retry (const std::string &name) |
Cancel a retry function. | |
void | set_timeout (const std::string &name, uint32_t timeout, std::function< void()> &&f) |
Set a timeout function with a unique name. | |
void | set_timeout (uint32_t timeout, std::function< void()> &&f) |
bool | cancel_timeout (const std::string &name) |
Cancel a timeout function. | |
void | defer (const std::string &name, std::function< void()> &&f) |
Defer a callback to the next loop() call. | |
void | defer (std::function< void()> &&f) |
Defer a callback to the next loop() call. | |
bool | cancel_defer (const std::string &name) |
Cancel a defer callback using the specified name, name must not be empty. | |
![]() | |
uint32_t | from_microseconds_ (uint32_t us) |
uint32_t | to_microseconds_ (uint32_t ticks) |
Definition at line 49 of file remote_receiver.h.
|
inline |
Definition at line 59 of file remote_receiver.h.
|
inline |
Definition at line 62 of file remote_receiver.h.
|
inline |
Definition at line 65 of file remote_receiver.h.
|
protected |
|
protected |
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 59 of file remote_receiver_esp8266.cpp.
|
inlineoverridevirtual |
Reimplemented from esphome::Component.
Definition at line 70 of file remote_receiver.h.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 73 of file remote_receiver_esp8266.cpp.
|
inline |
Definition at line 77 of file remote_receiver.h.
|
inline |
Definition at line 73 of file remote_receiver.h.
|
inline |
Definition at line 78 of file remote_receiver.h.
|
inline |
Definition at line 79 of file remote_receiver.h.
|
inline |
Definition at line 74 of file remote_receiver.h.
|
inline |
Definition at line 75 of file remote_receiver.h.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 33 of file remote_receiver_esp8266.cpp.
|
protected |
Definition at line 102 of file remote_receiver.h.
|
protected |
Definition at line 85 of file remote_receiver.h.
|
protected |
Definition at line 93 of file remote_receiver.h.
|
protected |
Definition at line 94 of file remote_receiver.h.
|
protected |
Definition at line 86 of file remote_receiver.h.
|
protected |
Definition at line 103 of file remote_receiver.h.
|
protected |
Definition at line 99 of file remote_receiver.h.
|
protected |
Definition at line 104 of file remote_receiver.h.
|
protected |
Definition at line 87 of file remote_receiver.h.
|
protected |
Definition at line 91 of file remote_receiver.h.
|
protected |
Definition at line 98 of file remote_receiver.h.
|
protected |
Definition at line 88 of file remote_receiver.h.