Public Attributes | List of all members
VL53L1_GPIO_interrupt_config_t Struct Reference

Structure to configure conditions when GPIO interrupt is trigerred. More...

#include <vl53l1_ll_def.h>

Public Attributes

uint8_t intr_combined_mode
 
VL53L1_GPIO_Interrupt_Mode intr_mode_distance
 
VL53L1_GPIO_Interrupt_Mode intr_mode_rate
 
uint8_t intr_new_measure_ready
 
uint8_t intr_no_target
 
uint16_t threshold_distance_high
 
uint16_t threshold_distance_low
 
uint16_t threshold_rate_high
 
uint16_t threshold_rate_low
 

Detailed Description

Structure to configure conditions when GPIO interrupt is trigerred.

Definition at line 430 of file vl53l1_ll_def.h.

Member Data Documentation

◆ intr_combined_mode

uint8_t VL53L1_GPIO_interrupt_config_t::intr_combined_mode

If set to 0, interrupts will only be triggered if BOTH rate AND distance thresholds are triggered (combined mode). If set to 1, interrupts will be triggered if EITHER rate OR distance thresholds are triggered (independent mode).

Definition at line 450 of file vl53l1_ll_def.h.

◆ intr_mode_distance

VL53L1_GPIO_Interrupt_Mode VL53L1_GPIO_interrupt_config_t::intr_mode_distance

Distance interrupt mode

Definition at line 433 of file vl53l1_ll_def.h.

◆ intr_mode_rate

VL53L1_GPIO_Interrupt_Mode VL53L1_GPIO_interrupt_config_t::intr_mode_rate

Rate interrupt mode

Definition at line 436 of file vl53l1_ll_def.h.

◆ intr_new_measure_ready

uint8_t VL53L1_GPIO_interrupt_config_t::intr_new_measure_ready

trigger interrupt if a new measurement is ready WARNING! will override other settings

Definition at line 441 of file vl53l1_ll_def.h.

◆ intr_no_target

uint8_t VL53L1_GPIO_interrupt_config_t::intr_no_target

Trigger interrupt if no target found

Definition at line 444 of file vl53l1_ll_def.h.

◆ threshold_distance_high

uint16_t VL53L1_GPIO_interrupt_config_t::threshold_distance_high

Distance threshold high limit (mm)

Definition at line 458 of file vl53l1_ll_def.h.

◆ threshold_distance_low

uint16_t VL53L1_GPIO_interrupt_config_t::threshold_distance_low

Distance threshold low limit (mm)

Definition at line 461 of file vl53l1_ll_def.h.

◆ threshold_rate_high

uint16_t VL53L1_GPIO_interrupt_config_t::threshold_rate_high

Rate threshold high limit (9.7 Mcps)

Definition at line 464 of file vl53l1_ll_def.h.

◆ threshold_rate_low

uint16_t VL53L1_GPIO_interrupt_config_t::threshold_rate_low

Rate threshold low limit (9.7 Mcps)

Definition at line 467 of file vl53l1_ll_def.h.


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


vl53l1x
Author(s):
autogenerated on Fri Aug 2 2024 08:35:55