L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
amb_tsl2591_t Struct Reference

Measurement data produced by the TSL2591 ambient light sensor. Populated by amb_tsl2591_Read(); check IsDataValid before using Lux. More...

#include <amb_tsl2591.h>

Data Fields

float Lux
int8_t IsDataValid

Detailed Description

Measurement data produced by the TSL2591 ambient light sensor. Populated by amb_tsl2591_Read(); check IsDataValid before using Lux.

Definition at line 31 of file amb_tsl2591.h.

Field Documentation

◆ IsDataValid

int8_t amb_tsl2591_t::IsDataValid

1 – value is valid; 0 – last read failed or sensor not yet calibrated

Definition at line 34 of file amb_tsl2591.h.

◆ Lux

float amb_tsl2591_t::Lux

Illuminance in lux

Definition at line 33 of file amb_tsl2591.h.


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