amiro-lld / drivers / VL53L1X / v1 / alld_VL53L1X_types.h @ 4dba9195
History | View | Annotate | Download (332 Bytes)
1 | 4dba9195 | galberding | #ifndef AMIROLLD_VL53L1X_TYPES_H
|
---|---|---|---|
2 | #define AMIROLLD_VL53L1X_TYPES_H
|
||
3 | #include <amiro-lld.h> |
||
4 | |||
5 | /**
|
||
6 | * @brief The VL53L1X driver struct
|
||
7 | */
|
||
8 | typedef struct { |
||
9 | apalI2CDriver_t* i2cd; |
||
10 | apalI2Caddr_t addr; /**< @brief The I2C Driver. */
|
||
11 | const apalControlGpio_t* gpio1;
|
||
12 | const apalControlGpio_t* xshut;
|
||
13 | } VL53L1XDriver; |
||
14 | |||
15 | #endif |