ESPHome  2024.11.1
Static Public Member Functions | Data Fields
esphome::wiegand::WiegandStore Struct Reference

#include <wiegand.h>

Static Public Member Functions

static void d0_gpio_intr (WiegandStore *arg)
 
static void d1_gpio_intr (WiegandStore *arg)
 

Data Fields

ISRInternalGPIOPin d0
 
ISRInternalGPIOPin d1
 
volatile uint64_t value {0}
 
volatile uint32_t last_bit_time {0}
 
volatile bool done {true}
 
volatile uint8_t count {0}
 

Detailed Description

Definition at line 13 of file wiegand.h.

Member Function Documentation

◆ d0_gpio_intr()

void IRAM_ATTR HOT esphome::wiegand::WiegandStore::d0_gpio_intr ( WiegandStore arg)
static

Definition at line 11 of file wiegand.cpp.

◆ d1_gpio_intr()

void IRAM_ATTR HOT esphome::wiegand::WiegandStore::d1_gpio_intr ( WiegandStore arg)
static

Definition at line 20 of file wiegand.cpp.

Field Documentation

◆ count

volatile uint8_t esphome::wiegand::WiegandStore::count {0}

Definition at line 19 of file wiegand.h.

◆ d0

ISRInternalGPIOPin esphome::wiegand::WiegandStore::d0

Definition at line 14 of file wiegand.h.

◆ d1

ISRInternalGPIOPin esphome::wiegand::WiegandStore::d1

Definition at line 15 of file wiegand.h.

◆ done

volatile bool esphome::wiegand::WiegandStore::done {true}

Definition at line 18 of file wiegand.h.

◆ last_bit_time

volatile uint32_t esphome::wiegand::WiegandStore::last_bit_time {0}

Definition at line 17 of file wiegand.h.

◆ value

volatile uint64_t esphome::wiegand::WiegandStore::value {0}

Definition at line 16 of file wiegand.h.


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