4 #define SYSCLK_FREQ_72MHz 72000000 8 __I uint8_t
AHBPrescTable[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9 };
16 RCC->CR |= (uint32_t) 0x00000001;
19 RCC->CFGR &= (uint32_t) 0xF8FF0000;
22 RCC->CR &= (uint32_t) 0xFEF6FFFF;
25 RCC->CR &= (uint32_t) 0xFFFBFFFF;
28 RCC->CFGR &= (uint32_t) 0xFF80FFFF;
31 RCC->CIR = 0x009F0000;
38 uint32_t tmp = 0, pllmull = 0, pllsource = 0;
56 pllmull = (pllmull >> 18) + 2;
58 if (pllsource == 0x00) {
#define RCC_CFGR_PLLMULL6
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable cont...
#define RCC_CFGR_PPRE2_DIV1
#define RCC_CFGR_PLLMULL10
#define RCC_CFGR_PLLMULL7
#define RCC_CFGR_PLLSRC_HSI_Div2
void SystemInit(void)
Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the Syst...
#define RCC_CFGR_PLLMULL16
static volatile uint8_t * status
#define HSE_STARTUP_TIMEOUT
Comment the line below if you will not use the peripherals drivers. In this case, these drivers will ...
#define RCC_CFGR_PLLSRC_HSE
#define RCC_CFGR_HPRE_DIV1
#define RCC_CFGR_PLLMULL9
__I uint8_t AHBPrescTable[16]
#define FLASH_ACR_LATENCY_2
#define FLASH_ACR_LATENCY
#define RCC_CFGR_PLLXTPRE
void SetSysClock(bool overclock)
CMSIS Cortex-M3 Device Peripheral Access Layer Header File. This file contains all the peripheral reg...
#define SYSCLK_FREQ_72MHz
#define RCC_CFGR_PPRE1_DIV2