You can simplify MCU development if you make sure that your firmware has access to a numerical value that corresponds to the processor frequency.
View more at https://www.allaboutcircuits.com/technical-articles/embedded-firmware-tips-and-tricks-know-your-clock-frequency/.
Published by Department of EEE, ADBU: tinyurl.com/eee-adbu