Actually I am working on a project where i want to use rising edge and falling edge for interrupts at the same pin,
when rising edge is configured then Timer should start and i want to read that timer value, then i want to configure falling edge as an interrupt,
at falling edge i want to stop the timer and i want to read that timer value, Can anybody guide me that how this can be done ?