I have a PIC that controls a Geared Motor with the PWM output (Works great). It also has a LCD attached, I want to display a count for every RPM, then I also will have a AD setting for a RPM MAX COUNT, basically i can set how many rotations is the limit, it will run and count input pulses till it reaches the max limit then auto shut off motor. my question is can i use the interrupt to count pulses from a magnetic reed switch , max speed or RPM on motor is say 1500, so 1500 / 60 = Hertz
so 25hz, can the IRQ of a microprocessor handle 25 activations a second?

if not anyone have another way of doing this?