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.
Diff: inc/spi_interface.h
- Revision:
- 18:0696efe39d08
- Parent:
- 0:3ac96e360672
--- a/inc/spi_interface.h Wed Jun 23 12:57:26 2021 +0000 +++ b/inc/spi_interface.h Wed Jul 21 17:06:38 2021 +0200 @@ -8,8 +8,8 @@ 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 v53l1cb_i2c_write_if(void *dev_I2C, uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); + int v53l1cb_i2c_read_if(void *dev_I2C, uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); int GetTickCount( uint32_t *ptick_count_ms); #ifdef __cplusplus @@ -17,4 +17,4 @@ #endif -#endif /* __DEV_53L1X_I2C_H */ \ No newline at end of file +#endif /*__SPI_INTERFACE_H */