ESPHome  2024.10.2
Static Public Member Functions | Data Fields
esphome::remote_receiver::RemoteReceiverComponentStore Struct Reference

#include <remote_receiver.h>

Static Public Member Functions

static void gpio_intr (RemoteReceiverComponentStore *arg)
 

Data Fields

volatile uint32_t * buffer {nullptr}
 Stores the time (in micros) that the leading/falling edge happened at. More...
 
volatile uint32_t buffer_write_at
 The position last written to. More...
 
uint32_t buffer_read_at {0}
 The position last read from. More...
 
bool overflow {false}
 
uint32_t buffer_size {1000}
 
uint32_t filter_us {10}
 
ISRInternalGPIOPin pin
 

Detailed Description

Definition at line 12 of file remote_receiver.h.

Member Function Documentation

◆ gpio_intr()

void IRAM_ATTR HOT esphome::remote_receiver::RemoteReceiverComponentStore::gpio_intr ( RemoteReceiverComponentStore arg)
static

Definition at line 13 of file remote_receiver_esp8266.cpp.

Field Documentation

◆ buffer

volatile uint32_t* esphome::remote_receiver::RemoteReceiverComponentStore::buffer {nullptr}

Stores the time (in micros) that the leading/falling edge happened at.

  • An even index means a falling edge appeared at the time stored at the index
  • An uneven index means a rising edge appeared at the time stored at the index

Definition at line 18 of file remote_receiver.h.

◆ buffer_read_at

uint32_t esphome::remote_receiver::RemoteReceiverComponentStore::buffer_read_at {0}

The position last read from.

Definition at line 22 of file remote_receiver.h.

◆ buffer_size

uint32_t esphome::remote_receiver::RemoteReceiverComponentStore::buffer_size {1000}

Definition at line 24 of file remote_receiver.h.

◆ buffer_write_at

volatile uint32_t esphome::remote_receiver::RemoteReceiverComponentStore::buffer_write_at

The position last written to.

Definition at line 20 of file remote_receiver.h.

◆ filter_us

uint32_t esphome::remote_receiver::RemoteReceiverComponentStore::filter_us {10}

Definition at line 25 of file remote_receiver.h.

◆ overflow

bool esphome::remote_receiver::RemoteReceiverComponentStore::overflow {false}

Definition at line 23 of file remote_receiver.h.

◆ pin

ISRInternalGPIOPin esphome::remote_receiver::RemoteReceiverComponentStore::pin

Definition at line 26 of file remote_receiver.h.


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