mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 09:52:45 +01:00
bd3f54ac8f
This adds the features - periph_gpio_ll_input_pull_down: To indicate support for input mode with internal pull down - periph_gpio_ll_input_pull_keep: To indicate support for input mode with internal resistor pulling towards current level - periph_gpio_ll_input_pull_up: To indicate support for input mode with internal pull up - periph_gpio_ll_disconnect: To indicate a GPIO can be disconnected - periph_gpio_ll_open_drain: To indicate support for open drain mode - periph_gpio_ll_open_drain_pull_up: To indicate support for open drain mode with internal pull up - periph_gpio_ll_open_source: To indicate support for open source mode - periph_gpio_ll_open_source_pull_down: To indicate support for open source mode with internal pull down
15 lines
698 B
Makefile
15 lines
698 B
Makefile
# Always use hardware features, if available
|
|
ifneq (,$(filter periph_gpio_ll%,$(USEMODULE)))
|
|
FEATURES_OPTIONAL += periph_gpio_ll_disconnect
|
|
FEATURES_OPTIONAL += periph_gpio_ll_irq_level_triggered_high
|
|
FEATURES_OPTIONAL += periph_gpio_ll_input_pull_down
|
|
FEATURES_OPTIONAL += periph_gpio_ll_input_pull_keep
|
|
FEATURES_OPTIONAL += periph_gpio_ll_input_pull_up
|
|
FEATURES_OPTIONAL += periph_gpio_ll_irq_level_triggered_low
|
|
FEATURES_OPTIONAL += periph_gpio_ll_irq_unmask
|
|
FEATURES_OPTIONAL += periph_gpio_ll_open_drain
|
|
FEATURES_OPTIONAL += periph_gpio_ll_open_drain_pull_up
|
|
FEATURES_OPTIONAL += periph_gpio_ll_open_source
|
|
FEATURES_OPTIONAL += periph_gpio_ll_open_source_pull_down
|
|
endif
|