Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: VL6180_Board
Diff: VL6180INC/spi_interface.h
- Revision:
- 0:1da5e4bcb8e5
diff -r 000000000000 -r 1da5e4bcb8e5 VL6180INC/spi_interface.h
--- /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