-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
100 lines (86 loc) · 3.18 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
menu "ESP IDF Button Events"
config ESP_BE_MAX_BUTTON_COUNT
int "Number supported Buttons"
range 1 6
default 6
help
The maximum number of supported buttons
config ESP_BE_DEFAULT_DEBOUNCE_MS
int "Default debounce time (ms)"
range 0 100
default 50
help
The default time, in ms, used for pin debounce. Essentially, this is just the
time after the first edge transition that the button state is read.
config ESP_BE_DEFAULT_SHORT_PRESS_MS
int "Default short button press (ms)"
range 20 1000
default 100
help
The default time, in ms, used to determine if a button was pressed.
This is minimum time between the pressed and no pressed states. Durations shorter
than this are ignored.
config ESP_BE_DEFAULT_LONG_PRESS_MS
int "Default long button press (ms)"
range 500 10000
default 3000
help
The default time, in ms, used to determine if a button was long pressed.
This is minimum time between the pressed and no pressed states. Durations shorter than
this are considered a short press.
config ESP_BE_DEFAULT_HELD_MS
int "Default held button event time (ms)"
range 500 10000
default 3000
help
The default time, in ms, used to determine if a button has been held.
Held events don't requrire the button to have transitioned to the no pressed state.
config ESP_BE_DEFAULT_HELD_REPEAT_MS
int "Default held button repeat (ms)"
range 200 10000
default 500
help
How often repeat events are generated after the first held event.
config ESP_BE_DEFAULT_BUTTON_INVERTED
bool "Default button state inverted"
default n
help
Non Inverted: Low = pressed, High = not pressed.
Inverted: High = pressed, Low = not pressed.
config ESP_BE_TASK_STACK_SIZE
int "Event manager stack size"
range 1024 8192
default 2048
help
The default stack size used for the button event manager.
config ESP_BE_TASK_PRIORITY
int "Event manager task priority"
range 1 25
default 8
help
The default task priority used for the button event manager.
config ESP_BE_EVENT_LOOP_STACK_SIZE
int "Event loop stack size"
range 1024 8192
default 2048
help
The default stack size used for the button event manager.
config ESP_BE_EVENT_LOOP_TASK_PRIORITY
int "Event loop task priority"
range 1 25
default 10
help
The default task priority used for the button event loop.
config ESP_BE_EVENT_LOOP_QUEUE_SIZE
int "Event loop queue size"
range 5 25
default 5
help
The size of the event loop queue.
config ESP_BE_EVENT_LOOP_TASK_AFFINITY
int "Event loop task affininty"
range -1 1
default -1
help
The core to run the event loop on. -1 allows the loop to run on both cores.
endmenu # ESP IDF Button Events