MRMS
PlatformIO
Projects
MRMS
lib
mrm-lid2
src
vl53l1_platform.h
Go to the documentation of this file.
1
6
#ifndef _VL53L1_PLATFORM_H_
7
#define _VL53L1_PLATFORM_H_
8
9
#include "
vl53l1_types.h
"
10
11
#ifdef __cplusplus
12
extern
"C"
13
{
14
#endif
15
16
typedef
struct
{
17
uint32_t dummy;
18
}
VL53L1_Dev_t
;
19
20
typedef
VL53L1_Dev_t
*
VL53L1_DEV
;
21
25
int8_t
VL53L1_WriteMulti
(
26
uint16_t dev,
27
uint16_t index,
28
uint8_t *pdata,
29
uint32_t count);
33
int8_t
VL53L1_ReadMulti
(
34
uint16_t dev,
35
uint16_t index,
36
uint8_t *pdata,
37
uint32_t count);
41
int8_t
VL53L1_WrByte
(
42
uint16_t dev,
43
uint16_t index,
44
uint8_t data);
48
int8_t
VL53L1_WrWord
(
49
uint16_t dev,
50
uint16_t index,
51
uint16_t data);
55
int8_t
VL53L1_WrDWord
(
56
uint16_t dev,
57
uint16_t index,
58
uint32_t data);
62
int8_t
VL53L1_RdByte
(
63
uint16_t dev,
64
uint16_t index,
65
uint8_t *pdata);
69
int8_t
VL53L1_RdWord
(
70
uint16_t dev,
71
uint16_t index,
72
uint16_t *pdata);
76
int8_t
VL53L1_RdDWord
(
77
uint16_t dev,
78
uint16_t index,
79
uint32_t *pdata);
83
int8_t
VL53L1_WaitMs
(
84
uint16_t dev,
85
int32_t wait_ms);
86
87
#ifdef __cplusplus
88
}
89
#endif
90
91
#endif
VL53L1_Dev_t
Definition:
vl53l1_platform.h:16
VL53L1_WrDWord
int8_t VL53L1_WrDWord(uint16_t dev, uint16_t index, uint32_t data)
VL53L1_WrDWord() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:57
VL53L1_RdByte
int8_t VL53L1_RdByte(uint16_t dev, uint16_t index, uint8_t *pdata)
VL53L1_RdByte() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:61
VL53L1_WrByte
int8_t VL53L1_WrByte(uint16_t dev, uint16_t index, uint8_t data)
VL53L1_WrByte() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:49
VL53L1_ReadMulti
int8_t VL53L1_ReadMulti(uint16_t dev, uint16_t index, uint8_t *pdata, uint32_t count)
VL53L1_ReadMulti() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:45
VL53L1_WrWord
int8_t VL53L1_WrWord(uint16_t dev, uint16_t index, uint16_t data)
VL53L1_WrWord() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:53
VL53L1_WriteMulti
int8_t VL53L1_WriteMulti(uint16_t dev, uint16_t index, uint8_t *pdata, uint32_t count)
VL53L1_WriteMulti() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:41
VL53L1_RdDWord
int8_t VL53L1_RdDWord(uint16_t dev, uint16_t index, uint32_t *pdata)
VL53L1_RdDWord() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:69
VL53L1_WaitMs
int8_t VL53L1_WaitMs(uint16_t dev, int32_t wait_ms)
VL53L1_WaitMs() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:73
VL53L1_RdWord
int8_t VL53L1_RdWord(uint16_t dev, uint16_t index, uint16_t *pdata)
VL53L1_RdWord() definition. To be implemented by the developer.
Definition:
vl53l1_platform.c:65
vl53l1_types.h
VL53L1 types definition.
Generated by
1.9.1