Interrupt threshold configuration. More...
Interrupt threshold configuration.
Threshold configurations are used for event interrupts only. If event interrupts are enabled by the corresponding interrupt mode for range and/or ALS measurements, the lower and/or upper threshold values are used to generate an interrupt if the values of the respective measurement exceed these threshold values.
The unit of threshold values for range measurements is millimeters. The unit of threshold values for ALS measurements is counts.
vl6180x_irq
is used. #include <vl6180x.h>
Data Fields | |
uint8_t | rng_high |
upper threshold for range values | |
uint8_t | rng_low |
lower threshold for range values | |
uint16_t | als_high |
upper threshold for ALS values | |
uint16_t | als_low |
lower threshold for ALS values | |
uint16_t vl6180x_int_thresh_t::als_high |
uint16_t vl6180x_int_thresh_t::als_low |
uint8_t vl6180x_int_thresh_t::rng_high |
uint8_t vl6180x_int_thresh_t::rng_low |