RCC now has two variables to hold the current apb1 and apb2 frequency.

This commit is contained in:
Piotr Esden-Tempski
2011-03-11 19:42:06 -08:00
parent 675b13ed2b
commit 3d20f37b27
2 changed files with 57 additions and 25 deletions

View File

@@ -369,6 +369,10 @@
#define RCC_CFGR2_PREDIV2_DIV15 0xe
#define RCC_CFGR2_PREDIV2_DIV16 0xf
/* --- Variable definitions ------------------------------------------------ */
extern u32 rcc_ppre1_frequency;
extern u32 rcc_ppre2_frequency;
/* --- Function prototypes ------------------------------------------------- */
typedef enum {