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.
Direct dependencies
CAF_BUTTONS
&& CAF
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Kconfig definition
At <nRF>/subsys/caf/modules/Kconfig.buttons:46
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
→ <nRF>/Kconfig.nrf:92
→ <nRF>/subsys/Kconfig:50
→ <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.)