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
VL6180INC/spi_interface.h
- Committer:
- charlesmn
- Date:
- 2020-10-28
- Revision:
- 0:1da5e4bcb8e5
File content as of revision 0:1da5e4bcb8e5:
/* 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 */