Hello everyone!
Now I am working with imx6ul processor and I need to use input capture channel.
I found in RM that this have several gpt input capture channels.
Also, I found driver in this forum:
https://elixir.bootlin.com/linux/v5.11.2/source/drivers/clocksource/timer-imx-gpt.c
Previously, I worked with microcontrollers like STM32 and etc. And using interrupts was easy.
But here I can not start because I do not understand some.
In this cause I have 2 questinos:
1. How can I use this interrupt in my project for getting data?
2. Can this interrupt capture signal with 1us accuracy?