Timer implementation for raising edge detection

Hi,
I m using nrf 53833 development board. I want to implement timer in input mode (zephyr )to detect raising edge of the pulse (Pulse is generated through PWM ). when any raising edge is detected. 

Thanks

Related