Loading...
Searching...
No Matches

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
 

Field Documentation

◆ als_high

uint16_t vl6180x_int_thresh_t::als_high

upper threshold for ALS values

Definition at line 541 of file vl6180x.h.

◆ als_low

uint16_t vl6180x_int_thresh_t::als_low

lower threshold for ALS values

Definition at line 542 of file vl6180x.h.

◆ rng_high

uint8_t vl6180x_int_thresh_t::rng_high

upper threshold for range values

Definition at line 537 of file vl6180x.h.

◆ rng_low

uint8_t vl6180x_int_thresh_t::rng_low

lower threshold for range values

Definition at line 538 of file vl6180x.h.


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