|
Nol.A SDK Library 26.11.2
For IoT System Software Development
|
Functions used for interrupt managements. More...
Functions | |
| VL53L0X_API VL53L0X_Error | VL53L0X_SetGpioConfig (VL53L0X_DEV Dev, uint8_t Pin, VL53L0X_DeviceModes DeviceMode, VL53L0X_GpioFunctionality Functionality, VL53L0X_InterruptPolarity Polarity) |
| Set the configuration of GPIO pin for a given device. | |
| VL53L0X_API VL53L0X_Error | VL53L0X_GetGpioConfig (VL53L0X_DEV Dev, uint8_t Pin, VL53L0X_DeviceModes *pDeviceMode, VL53L0X_GpioFunctionality *pFunctionality, VL53L0X_InterruptPolarity *pPolarity) |
| Get current configuration for GPIO pin for a given device. | |
| VL53L0X_API VL53L0X_Error | VL53L0X_SetInterruptThresholds (VL53L0X_DEV Dev, VL53L0X_DeviceModes DeviceMode, FixPoint1616_t ThresholdLow, FixPoint1616_t ThresholdHigh) |
| Set low and high Interrupt thresholds for a given mode (ranging, ALS, ...) for a given device. | |
| VL53L0X_API VL53L0X_Error | VL53L0X_GetInterruptThresholds (VL53L0X_DEV Dev, VL53L0X_DeviceModes DeviceMode, FixPoint1616_t *pThresholdLow, FixPoint1616_t *pThresholdHigh) |
| Get high and low Interrupt thresholds for a given mode (ranging, ALS, ...) for a given device. | |
| VL53L0X_API VL53L0X_Error | VL53L0X_GetStopCompletedStatus (VL53L0X_DEV Dev, uint32_t *pStopStatus) |
| Return device stop completion status. | |
| VL53L0X_API VL53L0X_Error | VL53L0X_ClearInterruptMask (VL53L0X_DEV Dev, uint32_t InterruptMask) |
| Clear given system interrupt condition. | |
| VL53L0X_API VL53L0X_Error | VL53L0X_GetInterruptMaskStatus (VL53L0X_DEV Dev, uint32_t *pInterruptMaskStatus) |
| Return device interrupt status. | |
| VL53L0X_API VL53L0X_Error | VL53L0X_EnableInterruptMask (VL53L0X_DEV Dev, uint32_t InterruptMask) |
| Configure ranging interrupt reported to system. | |
Functions used for interrupt managements.
| VL53L0X_API VL53L0X_Error VL53L0X_ClearInterruptMask | ( | VL53L0X_DEV | Dev, |
| uint32_t | InterruptMask ) |
Clear given system interrupt condition.
| Dev | Device Handle |
| InterruptMask | Mask of interrupts to clear |
| VL53L0X_API VL53L0X_Error VL53L0X_EnableInterruptMask | ( | VL53L0X_DEV | Dev, |
| uint32_t | InterruptMask ) |
Configure ranging interrupt reported to system.
| Dev | Device Handle |
| InterruptMask | Mask of interrupt to Enable/disable (0:interrupt disabled or 1: interrupt enabled) |
| VL53L0X_API VL53L0X_Error VL53L0X_GetGpioConfig | ( | VL53L0X_DEV | Dev, |
| uint8_t | Pin, | ||
| VL53L0X_DeviceModes * | pDeviceMode, | ||
| VL53L0X_GpioFunctionality * | pFunctionality, | ||
| VL53L0X_InterruptPolarity * | pPolarity ) |
Get current configuration for GPIO pin for a given device.
| Dev | Device Handle |
| Pin | ID of the GPIO Pin |
| pDeviceMode | Pointer to Device Mode associated to the Gpio. |
| pFunctionality | Pointer to Pin functionality. Refer to VL53L0X_GpioFunctionality |
| pPolarity | Pointer to interrupt polarity. Active high or active low see VL53L0X_InterruptPolarity |
| VL53L0X_API VL53L0X_Error VL53L0X_GetInterruptMaskStatus | ( | VL53L0X_DEV | Dev, |
| uint32_t * | pInterruptMaskStatus ) |
Return device interrupt status.
| Dev | Device Handle |
| pInterruptMaskStatus | Pointer to status variable to update |
| VL53L0X_API VL53L0X_Error VL53L0X_GetInterruptThresholds | ( | VL53L0X_DEV | Dev, |
| VL53L0X_DeviceModes | DeviceMode, | ||
| FixPoint1616_t * | pThresholdLow, | ||
| FixPoint1616_t * | pThresholdHigh ) |
Get high and low Interrupt thresholds for a given mode (ranging, ALS, ...) for a given device.
| Dev | Device Handle |
| DeviceMode | Device Mode from which read thresholds |
| pThresholdLow | Low threshold (mm, lux ..., depending on the mode) |
| pThresholdHigh | High threshold (mm, lux ..., depending on the mode) |
| VL53L0X_API VL53L0X_Error VL53L0X_GetStopCompletedStatus | ( | VL53L0X_DEV | Dev, |
| uint32_t * | pStopStatus ) |
Return device stop completion status.
| Dev | Device Handle |
| pStopStatus | Pointer to status variable to update |
| VL53L0X_API VL53L0X_Error VL53L0X_SetGpioConfig | ( | VL53L0X_DEV | Dev, |
| uint8_t | Pin, | ||
| VL53L0X_DeviceModes | DeviceMode, | ||
| VL53L0X_GpioFunctionality | Functionality, | ||
| VL53L0X_InterruptPolarity | Polarity ) |
Set the configuration of GPIO pin for a given device.
| Dev | Device Handle |
| Pin | ID of the GPIO Pin |
| Functionality | Select Pin functionality. Refer to VL53L0X_GpioFunctionality |
| DeviceMode | Device Mode associated to the Gpio. |
| Polarity | Set interrupt polarity. Active high or active low see VL53L0X_InterruptPolarity |
| VL53L0X_API VL53L0X_Error VL53L0X_SetInterruptThresholds | ( | VL53L0X_DEV | Dev, |
| VL53L0X_DeviceModes | DeviceMode, | ||
| FixPoint1616_t | ThresholdLow, | ||
| FixPoint1616_t | ThresholdHigh ) |
Set low and high Interrupt thresholds for a given mode (ranging, ALS, ...) for a given device.
| Dev | Device Handle |
| DeviceMode | Device Mode for which change thresholds |
| ThresholdLow | Low threshold (mm, lux ..., depending on the mode) |
| ThresholdHigh | High threshold (mm, lux ..., depending on the mode) |