stm32f4: rcc: Add 84Mhz, max speed for f401

Basic helpers to at least support common configurations for the f401.

Original submission specified 5 wait states, but the reference manual and other
reviewers all believe that 2ws is sufficient for these modes.

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
Jorik Jonker
2015-03-02 21:18:52 +01:00
committed by Karl Palsson
parent a28ba5cb65
commit 07ee71cf23
2 changed files with 53 additions and 0 deletions

View File

@@ -548,6 +548,7 @@ extern uint32_t rcc_apb2_frequency;
typedef enum {
CLOCK_3V3_48MHZ,
CLOCK_3V3_84MHZ,
CLOCK_3V3_120MHZ,
CLOCK_3V3_168MHZ,
CLOCK_3V3_END