ESPHome  2024.11.3
Public Member Functions | Data Fields
esphome::ltr_als_ps::AlsControlRegister Union Reference

#include <ltr_definitions.h>

Public Member Functions

struct {
   bool   active_mode: 1
 
   bool   sw_reset: 1
 
   AlsGain   gain: 3
 
   uint8_t   reserved: 3
 
__attribute__ ((packed))
 

Data Fields

uint8_t raw
 

Detailed Description

Definition at line 139 of file ltr_definitions.h.

Member Function Documentation

◆ __attribute__()

struct esphome::ltr_als_ps::AlsControlRegister::@108 esphome::ltr_als_ps::AlsControlRegister::__attribute__ ( (packed)  )

Field Documentation

◆ active_mode

bool esphome::ltr_als_ps::AlsControlRegister::active_mode

Definition at line 142 of file ltr_definitions.h.

◆ gain

AlsGain esphome::ltr_als_ps::AlsControlRegister::gain

Definition at line 144 of file ltr_definitions.h.

◆ raw

uint8_t esphome::ltr_als_ps::AlsControlRegister::raw

Definition at line 140 of file ltr_definitions.h.

◆ reserved

uint8_t esphome::ltr_als_ps::AlsControlRegister::reserved

Definition at line 145 of file ltr_definitions.h.

◆ sw_reset

bool esphome::ltr_als_ps::AlsControlRegister::sw_reset

Definition at line 143 of file ltr_definitions.h.


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