Page 1 of 1

How to generate the period of Timer?

Posted: 24 Mar 2017, 15:48
by Henry
Timeout Period = (Period of Input Clock Source) * (8-bit Prescaler + 1) * (24-bit TCMPR), (TCMPR: Timer Compare Register).

Please refer to the following NUC100 series example to get the longest and shortest period of Timer.
Timeout Period of Timer.png
Timeout Period of Timer.png (15.81 KiB) Viewed 1905 times