I'm sorry for not asking specific microcontroller related questions but I think the principle of timer is almost the same in all microcontrollers. I want to understand this basic principle of timer/counter in microcontroller.
Assume there is an 8 bit timer that starts at one and overflows to 255. It set the flag when it overflow.
My question is whether the microcontroller continuously increments the value of the timer or just checks that the timer flag is set and performs action if its set
Assume there is an 8 bit timer that starts at one and overflows to 255. It set the flag when it overflow.
My question is whether the microcontroller continuously increments the value of the timer or just checks that the timer flag is set and performs action if its set