-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathKconfig
117 lines (101 loc) · 4.43 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
menu "Vl53l8cx"
config VL53L8CX_NB_TARGET_PER_ZONE
int "Number of target per zone"
range 1 4
default 1
help
The VL53L8CX can measure up to four targets per zone.
The user can configure the number of targets returned by the sensor.
The minimum distance between two targets to be detected is 600 mm.
A lower number of target per zone means a lower RAM
config VL53L8CX_DISABLE_AMBIENT_PER_SPAD
bool "Disable ambient per SPAD result"
default n
help
Disable the ambient per SPAD result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_NB_SPADS_ENABLED
bool "Disable number of SPADs enabled result"
default n
help
Disable the number of SPADs enabled result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_NB_TARGET_DETECTED
bool "Disable number of target detected result"
default n
help
Disable the number of target detected result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_SIGNAL_PER_SPAD
bool "Disable signal per SPAD result"
default n
help
Disable the signal per SPAD result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_RANGE_SIGMA_MM
bool "Disable range sigma in mm result"
default n
help
Disable the range sigma in mm result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_DISTANCE_MM
bool "Disable distance in mm result"
default n
help
Disable the distance in mm result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_REFLECTANCE_PERCENT
bool "Disable reflectance in percent result"
default n
help
Disable the reflectance in percent result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_TARGET_STATUS
bool "Disable target status result"
default n
help
Disable the target status result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_DISABLE_MOTION_INDICATOR
bool "Disable motion indicator result"
default n
help
Disable the motion indicator result.
Consequently, the field is not declared in the results structure,
and the data is not transferred to the host.
The RAM size and I2C/SPI size are reduced.
config VL53L8CX_I2C_TIMEOUT
bool "Enable I²C bus timeout"
default false
config VL53L8CX_I2C_TIMEOUT_VALUE
int "I²C bus timeout"
depends on VL53L8CX_I2C_TIMEOUT
default 1000
choice VL53L8CX_RESET_LEVEL
prompt "Reset Pin State"
default VL53L8CX_RESET_PIN_LOW
help
The user can choose if during the reset scheme the reset pin is low or high.
This allow different circuits and the user can choose accordingly to his needs.
config VL53L8CX_RESET_PIN_LOW
bool "Low"
config VL53L8CX_RESET_PIN_HIGH
bool "High"
endchoice
endmenu