Capture module (pin) in Arduino like a PICs CCP input (manchester decode)

Does the Arduino UNO have a pin with a hardware capture module? Its primary use would be pulse width decoding.

do u mean interrupt routines?
http://arduino.cc/en/Reference/AttachInterrupt

Or maybe the timer/counter's capture pins, a trigger on them will latch the current counter value.


Rob

Yes.

Graynomad:
Or maybe the timer/counter's capture pins, a trigger on them will latch the current counter value.


Rob

Yes that's the idea. Interrupts would also work but using the timers makes the chore less tedious.

FWIW, I just dug out an old Input Capture sketch and posted it here:

Input Capture is described in section 15.6 of the '328p datasheet.

-br