-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathKconfig
95 lines (79 loc) · 2.65 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
# Sensor data simulator
#
# Copyright (c) 2019 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
menuconfig PMW3610
bool "PMW3610 mouse optical sensor"
select SPI
help
Enable PMW3610 mouse optical sensor.
if PMW3610
config PMW3610_SWAP_XY
bool "Swap the X/Y axis of PMW3610 sensor"
config PMW3610_INVERT_X
bool "Invert the X axis of PMW3610 sensor"
config PMW3610_INVERT_Y
bool "Invert the Y axis of PMW3610 sensor"
config PMW3610_INIT_POWER_UP_EXTRA_DELAY_MS
int "Extra power up init delay (ms)"
default 0
help
Default minimum init power up delay is 10ms.
Use this config to postpone init power up sequence if needs longer bootup time.
config PMW3610_REPORT_INTERVAL_MIN
int "PMW3610's default minimum report rate"
default 0
help
Default minimum report interval in milliseconds.
Slow down input reporting for hid queue over the air.
Turn value down to 8ms to get sharp response if use with USB only.
config PMW3610_SMART_ALGORITHM
bool "Enable an algorithm of PMW3610 to enhance surface coverage"
default y
help
Enable the integration of the smart algorithm as the datasheet implementation.
The algorithm is used to extend the tracking acrocss a wider range of surfaces
such as graniles and tiles.
config PMW3610_RUN_DOWNSHIFT_TIME_MS
int "PMW3610's default RUN mode downshift time"
default 128
range 13 3264
help
Default RUN mode downshift down time in milliseconds.
Time after which sensor goes from RUN to REST1 mode.
config PMW3610_REST1_DOWNSHIFT_TIME_MS
int "PMW3610's default REST1 mode downshift time"
default 5000
help
Default REST1 mode downshift down time in milliseconds.
Time after which sensor goes from REST1 to REST2 mode.
config PMW3610_REST2_DOWNSHIFT_TIME_MS
int "PMW3610's default REST2 mode downshift time"
default 17000
help
Default REST2 mode downshift down time in milliseconds.
Time after which sensor goes from REST2 to REST3 mode.
config PMW3610_REST1_SAMPLE_TIME_MS
int "PMW3610's sample time in REST1 stage"
default 40
# range 10 2550
help
Default REST1 mode sample period in millisecond
config PMW3610_REST2_SAMPLE_TIME_MS
int "PMW3610's sample time in REST2 stage"
default 100
# range 10 2550
help
Default REST2 mode sample period in millisecond.
config PMW3610_REST3_SAMPLE_TIME_MS
int "PMW3610's sample time in REST3 stage"
default 500
# range 10 2550
help
Default REST2 mode sample period in millisecond.
module = PMW3610
module-str = PMW3610
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
endif #PMW3610