dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cmsis_system.c File Reference
#include "stm32f4xx.h"

Go to the source code of this file.

Macros

#define VECT_TAB_OFFSET   0x00
 
#define PLL_M   16
 
#define PLL_N   336
 
#define PLL_P   2
 
#define PLL_Q   7
 

Functions

static void SetSysClock (void)
 Configures the System clock source, PLL Multiplier and Divider factors, AHB/APBx prescalers and Flash settings This function should be called only once the RCC clock configuration is reset to the default reset state (done in SystemInit() function). More...
 
void SystemInit (void)
 Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the SystemFrequency variable. More...
 
void SystemCoreClockUpdate (void)
 Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable contains the core clock (HCLK), it can be used by the user application to setup the SysTick timer or configure other parameters. More...
 

Variables

uint32_t SystemCoreClock = 168000000
 
__I uint8_t AHBPrescTable [16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9}