veml7700: Driver for VEML7700 ambient light sensor
- struct veml7700_config_t
#include <veml7700.h>VEML configuration descriptor.
Public Members
- uint16_t gain
control the sensitivity
- uint16_t integration_time
time to measure
- uint16_t persistence_protect
sample count before the interrupt triggers
- uint16_t interrupt_enable
enable threshold interrupt
- uint16_t shutdown
set to 1 to shutdown the device, set to 0 to wakeup
- uint16_t threshold_high
high threshold for the interrupt
- uint16_t threshold_low
low threshold for the interrupt
- uint16_t power_saving_mode
power saving mode
- uint16_t power_saving_enable
enable the pover saving mode