Embedded Programming (24) – How to Use the #ifndef Directive?

Embedded Programming (24) - How to Use the #ifndef Directive?

Lifetime Technical Support:186 3636 9649 Author Introduction: Fan Shengmin (186 3636 9649), Member of the Science Writers Association of Yuncheng City, Member of the Science Writers Association of Shanxi Province. Author of maker education. Published “Playing with Electronics” in 2016, “Super Fun Electronic Production” in 2017, “Electrical Experiments in Life” in 2018, “Arduino Programming and … Read more

STM32 System Clock and Delay Function Initialization

STM32 System Clock and Delay Function Initialization

STM32 has three different clock sources that can be used to drive the system clock (SYSCLK): 1: HSI oscillator clock (internal clock) 2: HSE oscillator clock (external clock, provided by the crystal) 3: PLL clock (Phase-Locked Loop clock) These devices have the following two secondary clock sources: (1) 40kHz low-speed internal RC, which can be … Read more