Last updated 2 years ago
Lecture Note: click here
Create a global variable that stores the System Clock Source and CLK Frequency:
e.g. RCC_CLK_FREQ = 84MHz // 10Mhz
TIMx_CK_PSC= 84Mhz