ST Expansion SW Team / VL53L1

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L1CB

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers spi_interface.h Source File

spi_interface.h

00001 /* Define to prevent from recursive inclusion --------------------------------*/
00002 
00003 #ifndef __SPI_INTERFACE_H
00004 #define __SPI_INTERFACE_H
00005 
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010  
00011      int v53l1x_i2c_write_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite);
00012      int v53l1x_i2c_read_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite);  
00013      int GetTickCount( uint32_t *ptick_count_ms);               
00014 
00015 #ifdef __cplusplus
00016 }
00017 #endif
00018 
00019 
00020 #endif /* __DEV_53L1X_I2C_H */