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:
- lugandc
- Date:
- 2021-07-21
- Revision:
- 18:0696efe39d08
- Parent:
- 0:3ac96e360672
File content as of revision 18:0696efe39d08:
/* Define to prevent from recursive inclusion --------------------------------*/ #ifndef __SPI_INTERFACE_H #define __SPI_INTERFACE_H #ifdef __cplusplus extern "C" { #endif 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 } #endif #endif /*__SPI_INTERFACE_H */