esp32-tsl2561
ESP32-compatible C library for TSL2561 Light to Digital Converter.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator
Data Fields
tsl2561_info_t Struct Reference

Structure containing information related to the SMBus protocol. More...

#include <tsl2561.h>

Data Fields

bool init
 True if struct has been initialised, otherwise false.
 
bool powered
 True if the device has been powered up.
 
smbus_info_t * smbus_info
 Pointer to associated SMBus info.
 
tsl2561_device_type_t device_type
 Detected type of device (Chipscale vs T/FN/CL)
 
tsl2561_integration_time_t integration_time
 Current integration time for measurements.
 
tsl2561_gain_t gain
 Current gain for measurements.
 

Detailed Description

Structure containing information related to the SMBus protocol.


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