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:
- 0:3ac96e360672
- Child:
- 18:0696efe39d08
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/inc/spi_interface.h Fri Nov 06 10:06:37 2020 +0000 @@ -0,0 +1,20 @@ +/* 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 */ \ No newline at end of file