Rename library
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: VL53L3CX_NoShield_1Sensor_poll_Mb06x VL53L3_NoShield_1Sensor_polling_Mb63 X_NUCLEO_53L3A2 53L3A2_Ranging
modules/vl53lx_wait.h
- Committer:
- Charles MacNeill
- Date:
- 2021-07-14
- Revision:
- 5:89031b2f5316
File content as of revision 5:89031b2f5316:
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /****************************************************************************** * Copyright (c) 2020, STMicroelectronics - All Rights Reserved This file is part of VL53LX and is dual licensed, either GPL-2.0+ or 'BSD 3-clause "New" or "Revised" License' , at your option. ****************************************************************************** */ #ifndef _VL53LX_WAIT_H_ #define _VL53LX_WAIT_H_ #include "vl53lx_platform.h" #ifdef __cplusplus extern "C" { #endif VL53LX_Error VL53LX_wait_for_boot_completion( VL53LX_DEV Dev); VL53LX_Error VL53LX_wait_for_firmware_ready( VL53LX_DEV Dev); VL53LX_Error VL53LX_wait_for_range_completion( VL53LX_DEV Dev); VL53LX_Error VL53LX_wait_for_test_completion( VL53LX_DEV Dev); VL53LX_Error VL53LX_is_boot_complete( VL53LX_DEV Dev, uint8_t *pready); VL53LX_Error VL53LX_is_firmware_ready( VL53LX_DEV Dev, uint8_t *pready); VL53LX_Error VL53LX_is_new_data_ready( VL53LX_DEV Dev, uint8_t *pready); VL53LX_Error VL53LX_poll_for_boot_completion( VL53LX_DEV Dev, uint32_t timeout_ms); VL53LX_Error VL53LX_poll_for_firmware_ready( VL53LX_DEV Dev, uint32_t timeout_ms); VL53LX_Error VL53LX_poll_for_range_completion( VL53LX_DEV Dev, uint32_t timeout_ms); #ifdef __cplusplus } #endif #endif