Tool/software:
With the timer auto-reload enabled, when the timer overflows does the counter get set to the reset value AND get incremented on the next clock cycle or does it only get set to the reset value on the next cycle? Essentially, which of the following two graphs accurately shows the auto-reload timing (assuming the counter overflow value is 5 and the reset value is 2)? The first shows the counter updating to the reset value AND incrementing on the next cycle, while the second shows it updating to the reset value on the next cycle but only incrementing the cycle after that.