zephyr/drivers/gpio
Krzysztof Chruscinski 1089b91ba2 drivers: gpio: nrf: Add mask to track GPIOTE usage
So far, register state was used to determine if GPIOTE channel is busy.
This leads to issues if channel is used in more customized way after
allocation. In particular, if it temporarly disabled since disabled
channel is treated as available and can be allocated to another user.

Added additional mask which tracks allocated channels. After allocation
user can reconfigure the channel.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2020-06-10 11:57:45 +02:00
..
CMakeLists.txt
gpio_cc13xx_cc26xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_cc32xx.c drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
gpio_cmsdk_ahb.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_cmsdk_ahb.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw_registers.h
gpio_dw.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_esp32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_gecko.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_handlers.c
gpio_ht16k33.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_imx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_intel_apl.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_litex.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_lmp90xxx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
gpio_mchp_xec.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcp23s17.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcp23s17.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcux_igpio.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcux_lpc.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcux.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mmio32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_nrfx.c drivers: gpio: nrf: Add mask to track GPIOTE usage 2020-06-10 11:57:45 +02:00
gpio_pca95xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_rv32m1.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sam.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sam0.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_shell.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sifive.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_stellaris.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_stm32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_stm32.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sx1509b.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_utils.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx
Kconfig.cmsdk_ahb
Kconfig.dw
Kconfig.esp32
Kconfig.gecko
Kconfig.ht16k33
Kconfig.imx
Kconfig.intel
Kconfig.litex
Kconfig.lmp90xxx
Kconfig.mcp23s17
Kconfig.mcux
Kconfig.mcux_igpio
Kconfig.mcux_lpc
Kconfig.mmio32
Kconfig.nrfx
Kconfig.pca95xx
Kconfig.rv32m1
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stellaris
Kconfig.stm32
Kconfig.sx1509b
Kconfig.xec