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@0:3ac96e360672, 2020-11-06 (annotated)
- Committer:
- charlesmn
- Date:
- Fri Nov 06 10:06:37 2020 +0000
- Revision:
- 0:3ac96e360672
- Child:
- 18:0696efe39d08
Library for ST Vl53L1A1 time of flight sensor.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
charlesmn | 0:3ac96e360672 | 1 | /* Define to prevent from recursive inclusion --------------------------------*/ |
charlesmn | 0:3ac96e360672 | 2 | |
charlesmn | 0:3ac96e360672 | 3 | #ifndef __SPI_INTERFACE_H |
charlesmn | 0:3ac96e360672 | 4 | #define __SPI_INTERFACE_H |
charlesmn | 0:3ac96e360672 | 5 | |
charlesmn | 0:3ac96e360672 | 6 | |
charlesmn | 0:3ac96e360672 | 7 | #ifdef __cplusplus |
charlesmn | 0:3ac96e360672 | 8 | extern "C" { |
charlesmn | 0:3ac96e360672 | 9 | #endif |
charlesmn | 0:3ac96e360672 | 10 | |
charlesmn | 0:3ac96e360672 | 11 | int v53l1x_i2c_write_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); |
charlesmn | 0:3ac96e360672 | 12 | int v53l1x_i2c_read_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); |
charlesmn | 0:3ac96e360672 | 13 | int GetTickCount( uint32_t *ptick_count_ms); |
charlesmn | 0:3ac96e360672 | 14 | |
charlesmn | 0:3ac96e360672 | 15 | #ifdef __cplusplus |
charlesmn | 0:3ac96e360672 | 16 | } |
charlesmn | 0:3ac96e360672 | 17 | #endif |
charlesmn | 0:3ac96e360672 | 18 | |
charlesmn | 0:3ac96e360672 | 19 | |
charlesmn | 0:3ac96e360672 | 20 | #endif /* __DEV_53L1X_I2C_H */ |