add 16MHz resonator for stm32f4

This commit is contained in:
Gautier Hattenberger
2013-04-09 10:38:21 +02:00
committed by Felix Ruess
parent 8545d9d565
commit a4b582f91d
2 changed files with 369 additions and 266 deletions

View File

@@ -457,6 +457,7 @@ extern u32 rcc_ppre2_frequency;
/* --- Function prototypes ------------------------------------------------- */
typedef enum {
CLOCK_3V3_48MHZ,
CLOCK_3V3_120MHZ,
CLOCK_3V3_168MHZ,
CLOCK_3V3_END
@@ -477,6 +478,8 @@ typedef struct {
} clock_scale_t;
extern const clock_scale_t hse_8mhz_3v3[CLOCK_3V3_END];
extern const clock_scale_t hse_12mhz_3v3[CLOCK_3V3_END];
extern const clock_scale_t hse_16mhz_3v3[CLOCK_3V3_END];
typedef enum {
PLL, HSE, HSI, LSE, LSI