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
MyVL6180Dev_t Struct Reference
multiple VL6180 Linux Device structure More...
#include <vl6180_platform.h>
Data Fields | |
| struct VL6180DevData_t | Data |
| int | power_en_gpio |
| int | intr_gpio |
| int | chip_en_gpio |
| int | i2c_addr |
| int | i2c_fd |
| int | i2c_bus |
| char * | name |
| uint8_t | i2c_buffer [VL6180_MAX_I2C_XFER_SIZE] |
Detailed Description
multiple VL6180 Linux Device structure
Definition at line 112 of file vl6180_platform.h.
Field Documentation
| int chip_en_gpio |
chip enable gpio pin
Definition at line 119 of file vl6180_platform.h.
| struct VL6180DevData_t Data |
embed ST VL6180 Dev data as "Data"
Definition at line 113 of file vl6180_platform.h.
| int i2c_addr |
device i2c address on bus
Definition at line 120 of file vl6180_platform.h.
| uint8_t i2c_buffer[VL6180_MAX_I2C_XFER_SIZE] |
Example per device i2c buffer declaration and it's accessing macro
Definition at line 128 of file vl6180_platform.h.
| int i2c_bus |
device i2c bus number
Definition at line 123 of file vl6180_platform.h.
| int i2c_fd |
file descriptor for device at current i2cbus
Definition at line 122 of file vl6180_platform.h.
| int intr_gpio |
interrupt 1 gpio pin
Definition at line 118 of file vl6180_platform.h.
| char* name |
humane readable device "name" ie "bayer ch 1"
Definition at line 125 of file vl6180_platform.h.
| int power_en_gpio |
power enable gpio pin
Definition at line 117 of file vl6180_platform.h.
Generated on Tue Nov 29 2022 20:47:36 by
1.7.2