ESPHome  2024.12.2
Public Member Functions | Data Fields
esphome::ltr501::AlsControlRegister501 Union Reference

#include <ltr_definitions_501.h>

Public Member Functions

struct {
   bool   asl_mode_xxx: 1
 
   bool   als_mode_active: 1
 
   bool   sw_reset: 1
 
   AlsGain501   gain: 1
 
   uint8_t   reserved: 4
 
__attribute__ ((packed))
 

Data Fields

uint8_t raw
 

Detailed Description

Definition at line 123 of file ltr_definitions_501.h.

Member Function Documentation

◆ __attribute__()

struct esphome::ltr501::AlsControlRegister501::@98 esphome::ltr501::AlsControlRegister501::__attribute__ ( (packed)  )

Field Documentation

◆ als_mode_active

bool esphome::ltr501::AlsControlRegister501::als_mode_active

Definition at line 127 of file ltr_definitions_501.h.

◆ asl_mode_xxx

bool esphome::ltr501::AlsControlRegister501::asl_mode_xxx

Definition at line 126 of file ltr_definitions_501.h.

◆ gain

AlsGain501 esphome::ltr501::AlsControlRegister501::gain

Definition at line 129 of file ltr_definitions_501.h.

◆ raw

uint8_t esphome::ltr501::AlsControlRegister501::raw

Definition at line 124 of file ltr_definitions_501.h.

◆ reserved

uint8_t esphome::ltr501::AlsControlRegister501::reserved

Definition at line 130 of file ltr_definitions_501.h.

◆ sw_reset

bool esphome::ltr501::AlsControlRegister501::sw_reset

Definition at line 128 of file ltr_definitions_501.h.


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