forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
49 lines (35 loc) · 979 Bytes
/
Kconfig
File metadata and controls
49 lines (35 loc) · 979 Bytes
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
# PAW3212 optical motion sensor
#
# Copyright (c) 2019 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
menuconfig PAW3212
bool "PAW3212 mouse optical sensor"
help
Enable PAW3212 mouse optical sensor.
if PAW3212
choice
prompt "Select PAW3212 sensor orientation"
default PAW3212_ORIENTATION_0
config PAW3212_ORIENTATION_0
bool "PAW3212 not rotated"
config PAW3212_ORIENTATION_90
bool "PAW3212 rotated 90 deg clockwise"
config PAW3212_ORIENTATION_180
bool "PAW3212 rotated 180 deg clockwise"
config PAW3212_ORIENTATION_270
bool "PAW3212 rotated 270 deg clockwise"
endchoice
choice
prompt "Select PAW3212 sensor motion data length"
default PAW3212_8_BIT_MODE
config PAW3212_8_BIT_MODE
bool "PAW3212 8-bit motion data length"
config PAW3212_12_BIT_MODE
bool "PAW3212 12-bit motion data length"
endchoice
module = PAW3212
module-str = PAW3212
source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config"
endif #PAW3212