stm32f4: rcc: F411: support Full speed with usb.

F411 parts, found on "black pill" boards support 100MHz operation,
but only 96MHz with USB.  Provide default clock structures for this
common max speed.

Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
Tim Børresen
2021-09-25 12:54:50 +02:00
committed by Karl Palsson
parent 6763681c26
commit f5813a547a
2 changed files with 81 additions and 0 deletions

View File

@@ -796,6 +796,7 @@ extern uint32_t rcc_apb2_frequency;
enum rcc_clock_3v3 {
RCC_CLOCK_3V3_84MHZ,
RCC_CLOCK_3V3_96MHZ,
RCC_CLOCK_3V3_168MHZ,
RCC_CLOCK_3V3_180MHZ,
RCC_CLOCK_3V3_END