
Originally Posted by
dhouston
Anand, you'll get an interrupt on both the rising and falling edge.
In your case, the higher voltage will give steeper edges. You'll get 100 interrupts per second per phase or 300 total per second.
Interrupt on Change cannot be preset for falling or rising edges. It interrupts on both and sets register bits to indicate the pin and rising or falling. On each interrupt you reset the timer, check the register bits to determine pin & polarity, clear the interrupt and output your coded representation of the event.
Bookmarks