ESPHome  2024.11.1
Public Member Functions | Data Fields
esphome::ltr_als_ps::AlsPsStatusRegister Union Reference

#include <ltr_definitions.h>

Public Member Functions

struct {
   bool   ps_new_data: 1
 
   bool   ps_interrupt: 1
 
   bool   als_new_data: 1
 
   bool   als_interrupt: 1
 
   AlsGain   gain: 3
 
   bool   data_invalid: 1
 
__attribute__ ((packed))
 

Data Fields

uint8_t raw
 

Detailed Description

Definition at line 226 of file ltr_definitions.h.

Member Function Documentation

◆ __attribute__()

struct esphome::ltr_als_ps::AlsPsStatusRegister::@115 esphome::ltr_als_ps::AlsPsStatusRegister::__attribute__ ( (packed)  )

Field Documentation

◆ als_interrupt

bool esphome::ltr_als_ps::AlsPsStatusRegister::als_interrupt

Definition at line 232 of file ltr_definitions.h.

◆ als_new_data

bool esphome::ltr_als_ps::AlsPsStatusRegister::als_new_data

Definition at line 231 of file ltr_definitions.h.

◆ data_invalid

bool esphome::ltr_als_ps::AlsPsStatusRegister::data_invalid

Definition at line 234 of file ltr_definitions.h.

◆ gain

AlsGain esphome::ltr_als_ps::AlsPsStatusRegister::gain

Definition at line 233 of file ltr_definitions.h.

◆ ps_interrupt

bool esphome::ltr_als_ps::AlsPsStatusRegister::ps_interrupt

Definition at line 230 of file ltr_definitions.h.

◆ ps_new_data

bool esphome::ltr_als_ps::AlsPsStatusRegister::ps_new_data

Definition at line 229 of file ltr_definitions.h.

◆ raw

uint8_t esphome::ltr_als_ps::AlsPsStatusRegister::raw

Definition at line 227 of file ltr_definitions.h.


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