I have simple pulses coming into an external pin. I want the microcontroller to count a specific number of pulses and then give me an interrupt when this happens.
Is the eCAP module the correct peripheral to use for this? I can't seem to find any examples of how to implement anything close to this.