ESPHome  2024.10.3
Public Member Functions | Data Fields
esphome::ltr501::InterruptRegister Union Reference

#include <ltr_definitions_501.h>

Public Member Functions

struct {
   bool   ps_interrupt: 1
 
   bool   als_interrupt: 1
 
   bool   interrupt_polarity: 1
 
   uint8_t   reserved: 5
 
__attribute__ ((packed))
 

Data Fields

uint8_t raw
 

Detailed Description

Definition at line 238 of file ltr_definitions_501.h.

Member Function Documentation

◆ __attribute__()

struct esphome::ltr501::InterruptRegister::@106 esphome::ltr501::InterruptRegister::__attribute__ ( (packed)  )

Field Documentation

◆ als_interrupt

bool esphome::ltr501::InterruptRegister::als_interrupt

Definition at line 242 of file ltr_definitions_501.h.

◆ interrupt_polarity

bool esphome::ltr501::InterruptRegister::interrupt_polarity

Definition at line 243 of file ltr_definitions_501.h.

◆ ps_interrupt

bool esphome::ltr501::InterruptRegister::ps_interrupt

Definition at line 241 of file ltr_definitions_501.h.

◆ raw

uint8_t esphome::ltr501::InterruptRegister::raw

Definition at line 239 of file ltr_definitions_501.h.

◆ reserved

uint8_t esphome::ltr501::InterruptRegister::reserved

Definition at line 244 of file ltr_definitions_501.h.


The documentation for this union was generated from the following file: