what is the difference between counter and timer?
Difference between a Timer and a Counter The register incremented for every machine cycle. ... A timer uses the frequency of the internal clock, and generates delay. A counter uses an external signal to count pulses.