Is there difference between Timer vs Counter in ATmega328P?
Or is it the same thing?
Electronic – Is there difference between Timer vs Counter in ATmega328P
atmegacountertimer
Related Topic
- The difference between a precision timer and LinCMOS timer
- Electronic – difference between choosing OCRnA and ICRn in timer/counter CTC mode in ATMega2560
- Electronic – atmega32u4 configure counter in CTC mode
- Electronic – arduino – Timer 1 (16 bit): Why is overflow interrupt sometimes missed
- Electronic – Configuring STM32 timer as frequency counter
- Electronic – Difference between Shadow register, match register and capture compare register in a timer module
- Electronic – How to make a nanoseconds counter
Best Answer
A Timer and a Counter on an ATmega328 is the same piece of electronics.
There are three independent timers on the ATmega328.
Each timer has one counter register, and two comparison registers.
Each of the three timers has slightly different capabilities.
One has a 16bit counter, the other two 8bits.
With one it is much easier to count an external clock.
One has more flexibility on dividing down the main clock, so it is easier to adjust to count at a specific rate.