Diff: VL6180INC/spi_interface.h
- Revision:
- 0:1da5e4bcb8e5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/VL6180INC/spi_interface.h Wed Oct 28 14:51:47 2020 +0000 @@ -0,0 +1,23 @@ +/* Define to prevent from recursive inclusion --------------------------------*/ + +#ifndef __SPI_INTERFACE_H +#define __SPI_INTERFACE_H + + +#ifdef __cplusplus +extern "C" { +#endif + + int vl6180_i2c_write_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); + int vl6180_i2c_read_if(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); + int vl6180_i2c_write_stmpe1600(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); + int vl6180_i2c_read_stmpe(uint8_t* pBuffer, uint8_t DeviceAddr, uint16_t RegisterAddr, uint16_t NumByteToWrite); + + + +#ifdef __cplusplus +} +#endif + + +#endif /* __DEV_53L1X_I2C_H */ \ No newline at end of file