hi all,
based on which criterias should I choose a timer prescaler? is there some performance
advantage/disadvantage?
in the documetation, this example is shown:
// we want to setup the timer with a frequency of 500 Hz = 2 mS
// prescaler 1:1 should be used
// calculate the required number of clocks for this period:
// clocks = period / 100 nS = 2 mS / 100 nS = 20000
// therefore:
MIOS_TIMER_Init(0x00, 20000);
// now the Timer() function is called every 2 mS!
why not take a prescaler of 1:2 and set the period to 10000?
this