ST Expansion SW Team / VL53L1

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L1CB

Embed: (wiki syntax)

« Back to documentation index

VL53L1 IRQ Triggered events Functions

VL53L1 IRQ Triggered events Functions
[VL53L1 cut1.1 Function Definition]

Functions used to configure interrupt to be triggered only when a measurement satisfies some thresholds parameters. More...

Functions

VL53L1_Error VL53L1_SetThresholdConfig (VL53L1_DEV Dev, VL53L1_DetectionConfig_t *pConfig)
 Configure the interrupt config, from the given structure.
VL53L1_Error VL53L1_GetThresholdConfig (VL53L1_DEV Dev, VL53L1_DetectionConfig_t *pConfig)
 Retrieves the interrupt config structure currently programmed into the API.

Detailed Description

Functions used to configure interrupt to be triggered only when a measurement satisfies some thresholds parameters.


Function Documentation

VL53L1_Error VL53L1_GetThresholdConfig ( VL53L1_DEV  Dev,
VL53L1_DetectionConfig_t pConfig 
)

Retrieves the interrupt config structure currently programmed into the API.

Parameters:
[in]Dev: Device Handle
[out]pConfig: pointer to configuration structure

Definition at line 3781 of file vl53l1_api.c.

VL53L1_Error VL53L1_SetThresholdConfig ( VL53L1_DEV  Dev,
VL53L1_DetectionConfig_t pConfig 
)

Configure the interrupt config, from the given structure.

Parameters:
[in]Dev: Device Handle
[in]pConfig: pointer to configuration structure

Definition at line 3680 of file vl53l1_api.c.