This function is the initialization function for the system clock and other system settings. It sets the FPU settings, resets the RCC clock configuration, disables interrupts, configures the system clock source, PLL multipliers and dividers, AHB/APBx prescalers, and Flash settings. It also configures the vector table location and offset address. Additionally, if the macro DATA_IN_ExtSRAM or DATA_IN_ExtSDRAM is defined, it calls the SystemInit_ExtMemCtl() function to configure external memory settings.

void SystemInitvoid FPU settings ------------------------------------------------------------ #if __FPU_PRESENT == 1 && __FPU_USED == 1 SCB-CPACR = 3UL 1023UL 112; set CP10 and CP11 Full Acc

原文地址: https://www.cveoy.top/t/topic/MJJ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录