We are using the Zephyr IIS2DLPC driver to talk to that sensor from an nRF5340. This driver uses the Zephyr GPIO API to configure interrupts, which is implemented in drivers/gpio/gpio_nrfx.c. That module manages GPIOTE channels and uses hal/nordic/nrfx/hal/nrf_gpiote.h for register access.
We would also like to use GPIOTE for other purposes, for example as an input to a timer in counter mode, where no interrupts should be generated.
We wanted to use the nrfx_gpiote driver for this, but this has its own GPIOTE channel management that conflicts with gpio_nrfx.c
Is our understanding correct? And what is the best way to avoid these conflicts?