-
CONFIG_CAF_BUTTONS_POLARITY_INVERSED
¶
Inverse buttons polarity
Type: bool
Help¶
When this option is enabled, button is pressed when the GPIO state
is low.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <nRF>/subsys/caf/modules/Kconfig.buttons:37
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:23
→ <Zephyr>/modules/Kconfig:6
→ <BuildDir>/kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:50
→ <nRF>/subsys/Kconfig:44
→ <nRF>/subsys/caf/Kconfig:16
→ <nRF>/subsys/caf/modules/Kconfig:11
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Common Application Framework → Buttons module
config CAF_BUTTONS_POLARITY_INVERSED
bool "Inverse buttons polarity"
depends on CAF_BUTTONS && CAF
help
When this option is enabled, button is pressed when the GPIO state
is low.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)