Functions used for the Limit checks. More...
Functions | |
VL53L1_Error | VL53L1_GetLimitCheckCurrent (VL53L1_DEV Dev, uint16_t LimitCheckId, FixPoint1616_t *pLimitCheckCurrent) |
Get the current value of the signal used for the limit check. More... | |
VL53L1_Error | VL53L1_GetLimitCheckEnable (VL53L1_DEV Dev, uint16_t LimitCheckId, uint8_t *pLimitCheckEnable) |
Get specific limit check enable state. More... | |
VL53L1_Error | VL53L1_GetLimitCheckInfo (uint16_t LimitCheckId, char *pLimitCheckString) |
Return a description string for a given limit check number. More... | |
VL53L1_Error | VL53L1_GetLimitCheckStatus (VL53L1_DEV Dev, uint16_t LimitCheckId, uint8_t *pLimitCheckStatus) |
Return a the Status of the specified check limit. More... | |
VL53L1_Error | VL53L1_GetLimitCheckValue (VL53L1_DEV Dev, uint16_t LimitCheckId, FixPoint1616_t *pLimitCheckValue) |
Get a specific limit check value. More... | |
VL53L1_Error | VL53L1_GetNumberOfLimitCheck (uint16_t *pNumberOfLimitCheck) |
Get the number of the check limit managed by a given Device. More... | |
VL53L1_Error | VL53L1_SetLimitCheckEnable (VL53L1_DEV Dev, uint16_t LimitCheckId, uint8_t LimitCheckEnable) |
Enable/Disable a specific limit check. More... | |
VL53L1_Error | VL53L1_SetLimitCheckValue (VL53L1_DEV Dev, uint16_t LimitCheckId, FixPoint1616_t LimitCheckValue) |
Set a specific limit check value. More... | |
Functions used for the Limit checks.
VL53L1_Error VL53L1_GetLimitCheckCurrent | ( | VL53L1_DEV | Dev, |
uint16_t | LimitCheckId, | ||
FixPoint1616_t * | pLimitCheckCurrent | ||
) |
Get the current value of the signal used for the limit check.
Dev | Device Handle |
LimitCheckId | Limit Check ID (0<= LimitCheckId < VL53L1_GetNumberOfLimitCheck() ). |
pLimitCheckCurrent | Pointer to current Value for a given LimitCheckId. |
Definition at line 1570 of file vl53l1_api.c.
VL53L1_Error VL53L1_GetLimitCheckEnable | ( | VL53L1_DEV | Dev, |
uint16_t | LimitCheckId, | ||
uint8_t * | pLimitCheckEnable | ||
) |
Get specific limit check enable state.
Dev | Device Handle |
LimitCheckId | Limit Check ID (0<= LimitCheckId < VL53L1_GetNumberOfLimitCheck() ). |
pLimitCheckEnable | Pointer to the check limit enable value.
|
Definition at line 1464 of file vl53l1_api.c.
VL53L1_Error VL53L1_GetLimitCheckInfo | ( | uint16_t | LimitCheckId, |
char * | pLimitCheckString | ||
) |
Return a description string for a given limit check number.
LimitCheckId | Limit Check ID (0<= LimitCheckId < VL53L1_GetNumberOfLimitCheck() ). |
pLimitCheckString | Pointer to the description string of the given check limit. Shall be defined as char buf[VL53L1_MAX_STRING_LENGTH] |
Definition at line 1370 of file vl53l1_api.c.
VL53L1_Error VL53L1_GetLimitCheckStatus | ( | VL53L1_DEV | Dev, |
uint16_t | LimitCheckId, | ||
uint8_t * | pLimitCheckStatus | ||
) |
Return a the Status of the specified check limit.
Dev | Device Handle |
LimitCheckId | Limit Check ID (0<= LimitCheckId < VL53L1_GetNumberOfLimitCheck() ). |
pLimitCheckStatus | Pointer to the Limit Check Status of the given check limit. LimitCheckStatus : 0 the check is not fail or not enabled 1 the check if fail |
Definition at line 1384 of file vl53l1_api.c.
VL53L1_Error VL53L1_GetLimitCheckValue | ( | VL53L1_DEV | Dev, |
uint16_t | LimitCheckId, | ||
FixPoint1616_t * | pLimitCheckValue | ||
) |
Get a specific limit check value.
Dev | Device Handle |
LimitCheckId | Limit Check ID (0<= LimitCheckId < VL53L1_GetNumberOfLimitCheck() ). |
pLimitCheckValue | Pointer to Limit check Value for a given LimitCheckId. |
Definition at line 1523 of file vl53l1_api.c.
VL53L1_Error VL53L1_GetNumberOfLimitCheck | ( | uint16_t * | pNumberOfLimitCheck | ) |
Get the number of the check limit managed by a given Device.
pNumberOfLimitCheck | Pointer to the number of check limit. |
Definition at line 1358 of file vl53l1_api.c.
VL53L1_Error VL53L1_SetLimitCheckEnable | ( | VL53L1_DEV | Dev, |
uint16_t | LimitCheckId, | ||
uint8_t | LimitCheckEnable | ||
) |
Enable/Disable a specific limit check.
Dev | Device Handle |
LimitCheckId | Limit Check ID (0<= LimitCheckId < VL53L1_GetNumberOfLimitCheck() ). |
LimitCheckEnable |
|
Definition at line 1430 of file vl53l1_api.c.
VL53L1_Error VL53L1_SetLimitCheckValue | ( | VL53L1_DEV | Dev, |
uint16_t | LimitCheckId, | ||
FixPoint1616_t | LimitCheckValue | ||
) |
Set a specific limit check value.
Dev | Device Handle |
LimitCheckId | Limit Check ID (0<= LimitCheckId < VL53L1_GetNumberOfLimitCheck() ). |
LimitCheckValue | Limit check Value for a given LimitCheckId |
Definition at line 1486 of file vl53l1_api.c.