Interrupt threshold configuration. More...

Detailed Description

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.

Note
Interrupts are only supported when module vl6180x_irq is used.

Definition at line 535 of file vl6180x.h.

#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
 

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