Register-Based Fast Pulse Counter (Object-Oriented Version)
There are already several very good pulse counter examples on Codeshare and on the Wiki that use registers
This is yet another pulse counter utilizing the same approach, but it has been encapsulated in an easy to use FastPulseCounter object, which should be drop-in ready for any Panda II project, and perhaps other LPC23XX-based boards with minor modifications to the code. Extensive comments are included in the usage example and in the class, explaining various properties and features.
Related Codeshare entries:
http://www.tinyclr.com/codeshare/entry/298
http://www.tinyclr.com/codeshare/entry/235