Loading...
Searching...
No Matches

Interrupt config. More...

Detailed Description

Interrupt config.

This type defines the interrupt mode for both range measurements and ALS measurements. It is used on the one hand as parameter mode in the function vl6180x_int_enable to enable the interrupt for the respective measurement and on the other hand to return the source of an interrupt in function vl6180x_int_wait when an interrupt was triggered.

The interrupt mode is defined for range and ALS measurements separately.

Note
Interrupts are only supported when module vl6180x_irq is used.

Definition at line 512 of file vl6180x.h.

#include <vl6180x.h>

Data Fields

vl6180x_int_mode_t rng_int
 Interrupt mode for range measurements.
 
vl6180x_int_mode_t als_int
 Interrupt mode for ALS measurements.
 

Field Documentation

◆ als_int

vl6180x_int_mode_t vl6180x_int_config_t::als_int

Interrupt mode for ALS measurements.

Definition at line 517 of file vl6180x.h.

◆ rng_int

vl6180x_int_mode_t vl6180x_int_config_t::rng_int

Interrupt mode for range measurements.

Definition at line 514 of file vl6180x.h.


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