I want to measure the time of a GIO pin's high power level.
I can detect the rising edge using the interrupt. But how can I measure the time of the level holding on. Maybe there is a way to set both rising edge interrupt and falling edge interrupt and get the RTI number. However the HALCOGEN can not be set for both edge interrupt.
Hoping for a solution.