Let us say we want to configure a 16-bit timer to generate an interrupt every 1 second with a clock running at 8 MHz.
We can use several pair of values for the period and prescaler. Let us take the two extremes:
- prescaler = 125 and period = 64000,
- prescaler = 64000 and period = 125.
Is it better to take one of the two pair of values regarding the MCU load and power consumption?