ramana madishetty

LPC1768 Capture event

Discussion created by ramana madishetty on Aug 23, 2017

In my project, 

trying to configure a timer that runs with a clock with the 1 µs resolution.
Then set CCR to capture rising and falling edges and generate an event. In the ISR, I need to check the input pin if a falling or rising edge occured. On a falling edge, save contents of the CR (capture register) and send it through UART. Same On a rising edge, save CR send it through UART.
But the issue, am not able to enter in ISR.
I appreciate your suggestions. Please find the attached code.

Original Attachment has been moved to: main.c.zip