64 #include "stm32f4xx.h"
66 #if !defined (HSE_VALUE)
67 #define HSE_VALUE ((uint32_t)8000000)
70 #if !defined (HSI_VALUE)
71 #define HSI_VALUE ((uint32_t)16000000)
95 #define VECT_TAB_OFFSET 0x00
123 const uint8_t
AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
151 #if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
152 SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2));
156 RCC->CR |= (uint32_t)0x00000001;
159 RCC->CFGR = 0x00000000;
162 RCC->CR &= (uint32_t)0xFEF6FFFF;
165 RCC->PLLCFGR = 0x24003010;
168 RCC->CR &= (uint32_t)0xFFFBFFFF;
171 RCC->CIR = 0x00000000;
219 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2;