C language is one of the most commonly used programming languages of STM32. Because of its high efficiency, flexibility and good compatibility with hardware interfaces, C language has become the first choice for embedded system development. Using C language, developers can directly access the registers and peripherals of STM32 and write efficient codes to control and operate the hardware.