I am using GPIOTE to response to transitions in some GPIO pins. This code is added to the BLE UART example code (ble_app_uart_c with S120) from SDK 10. The code is already working.
The next thing I want to do is measuring the elapsed time between the GPIOTE events. I found a related thread but there was no immediate solution.
I could not find any example code that uses a timer in capture mode in BLE app.
The resolution of the elapsed time needs to be about 0.1 ms.
Thanks in advance for the help!