Macros | Typedefs
Interrupt modes

Selects between four interrupt modes. More...

Macros

#define VL53L1_GPIOINTMODE_IN_WINDOW   ((VL53L1_GPIO_Interrupt_Mode) 3)
 
#define VL53L1_GPIOINTMODE_LEVEL_HIGH   ((VL53L1_GPIO_Interrupt_Mode) 1)
 
#define VL53L1_GPIOINTMODE_LEVEL_LOW   ((VL53L1_GPIO_Interrupt_Mode) 0)
 
#define VL53L1_GPIOINTMODE_OUT_OF_WINDOW   ((VL53L1_GPIO_Interrupt_Mode) 2)
 

Typedefs

typedef uint8_t VL53L1_GPIO_Interrupt_Mode
 

Detailed Description

Selects between four interrupt modes.

Macro Definition Documentation

◆ VL53L1_GPIOINTMODE_IN_WINDOW

#define VL53L1_GPIOINTMODE_IN_WINDOW   ((VL53L1_GPIO_Interrupt_Mode) 3)

Trigger interupt if value > thresh_low AND value < thresh_high

Definition at line 551 of file vl53l1_ll_device.h.

◆ VL53L1_GPIOINTMODE_LEVEL_HIGH

#define VL53L1_GPIOINTMODE_LEVEL_HIGH   ((VL53L1_GPIO_Interrupt_Mode) 1)

Trigger interupt if value > thresh_high

Definition at line 545 of file vl53l1_ll_device.h.

◆ VL53L1_GPIOINTMODE_LEVEL_LOW

#define VL53L1_GPIOINTMODE_LEVEL_LOW   ((VL53L1_GPIO_Interrupt_Mode) 0)

Trigger interupt if value < thresh_low

Definition at line 542 of file vl53l1_ll_device.h.

◆ VL53L1_GPIOINTMODE_OUT_OF_WINDOW

#define VL53L1_GPIOINTMODE_OUT_OF_WINDOW   ((VL53L1_GPIO_Interrupt_Mode) 2)

Trigger interupt if value < thresh_low OR value > thresh_high

Definition at line 548 of file vl53l1_ll_device.h.

Typedef Documentation

◆ VL53L1_GPIO_Interrupt_Mode

Definition at line 540 of file vl53l1_ll_device.h.



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