Using the interval timer or wait will increase the CPU load

For increasing accuracy, interval-timer or wait always monitor the timer, this will increase the CPU load.

Therefore, when using interrupt to notifying applications, the accuracy will be limited to several milliseconds or more than ten milliseconds.

 

If the accuracy of several milliseconds is satisfied, when the measure mode is set to TIM_MEASURE_NORMAL using the TimSetMeasureMode function, the CPU load can be reduced. (By default, the accuracy is set to TIM_MEASURE_HIGH)