ESPHome  2024.10.3
Public Member Functions | Static Public Member Functions | Data Fields
esphome::tx20::Tx20ComponentStore Struct Reference

Store data in a class that doesn't use multiple-inheritance (vtables in flash) More...

#include <tx20.h>

Public Member Functions

void reset ()
 

Static Public Member Functions

static void gpio_intr (Tx20ComponentStore *arg)
 

Data Fields

volatile uint16_t * buffer
 
volatile uint32_t start_time
 
volatile uint8_t buffer_index
 
volatile uint32_t spent_time
 
volatile bool tx20_available
 
volatile bool pin_state
 
ISRInternalGPIOPin pin
 

Detailed Description

Store data in a class that doesn't use multiple-inheritance (vtables in flash)

Definition at line 11 of file tx20.h.

Member Function Documentation

◆ gpio_intr()

void IRAM_ATTR esphome::tx20::Tx20ComponentStore::gpio_intr ( Tx20ComponentStore arg)
static

Definition at line 145 of file tx20.cpp.

◆ reset()

void IRAM_ATTR esphome::tx20::Tx20ComponentStore::reset ( )

Definition at line 188 of file tx20.cpp.

Field Documentation

◆ buffer

volatile uint16_t* esphome::tx20::Tx20ComponentStore::buffer

Definition at line 12 of file tx20.h.

◆ buffer_index

volatile uint8_t esphome::tx20::Tx20ComponentStore::buffer_index

Definition at line 14 of file tx20.h.

◆ pin

ISRInternalGPIOPin esphome::tx20::Tx20ComponentStore::pin

Definition at line 18 of file tx20.h.

◆ pin_state

volatile bool esphome::tx20::Tx20ComponentStore::pin_state

Definition at line 17 of file tx20.h.

◆ spent_time

volatile uint32_t esphome::tx20::Tx20ComponentStore::spent_time

Definition at line 15 of file tx20.h.

◆ start_time

volatile uint32_t esphome::tx20::Tx20ComponentStore::start_time

Definition at line 13 of file tx20.h.

◆ tx20_available

volatile bool esphome::tx20::Tx20ComponentStore::tx20_available

Definition at line 16 of file tx20.h.


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