System Initialization in Embedded Development
12.2.5 SystemInit() List 5: 12-5: SystemInit() Swipe left or right to view the full content void SystemInit(void) {#if __FPU_USED /* Enable the FPU only when it is used. * Code taken from Section 7.1, Cortex-M4 TRM (DDI0439C) */ /* Set bits 20-23 (CP10 and CP11) to enable FPU. */ SCB->CPACR = (uint32_t) CP_MASK; #endif #if … Read more