The VL53L1CB proximity sensor, based on ST’s FlightSense™, Time-of-Flight technology.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: VL53L1CB_noshield_1sensor_polls_auton VL53L1CB_noshield_1sensor_interrupt_auton X_NUCLEO_53L1A2
Based on VL53L1 library, this is a library for the VL53L1CB ToF chip.
inc/spi_interface.h
- Committer:
- charlesmn
- Date:
- 2020-11-06
- Revision:
- 0:3ac96e360672
- Child:
- 18:0696efe39d08
File content as of revision 0:3ac96e360672:
/* Define to prevent from recursive inclusion --------------------------------*/ #ifndef __SPI_INTERFACE_H #define __SPI_INTERFACE_H #ifdef __cplusplus extern "C" { #endif int v53l1x_i2c_write_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); int v53l1x_i2c_read_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); int GetTickCount( uint32_t *ptick_count_ms); #ifdef __cplusplus } #endif #endif /* __DEV_53L1X_I2C_H */