stm32f1:rcc: fix typo in usb prescaler api document
usb scalar value 1.5 is used when clock runs at 72MHz not 64MHz Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
parent
821f4a49ea
commit
e3c78b8825
@ -556,7 +556,7 @@ void rcc_set_hpre(uint32_t hpre)
|
|||||||
/** @brief RCC Set the USB Prescale Factor.
|
/** @brief RCC Set the USB Prescale Factor.
|
||||||
|
|
||||||
The prescale factor can be set to 1 (no prescale) for use when the PLL clock is
|
The prescale factor can be set to 1 (no prescale) for use when the PLL clock is
|
||||||
48MHz, or 1.5 to generate the 48MHz USB clock from a 64MHz PLL clock.
|
48MHz, or 1.5 to generate the 48MHz USB clock from a 72MHz PLL clock.
|
||||||
|
|
||||||
@note This bit cannot be reset while the USB clock is enabled.
|
@note This bit cannot be reset while the USB clock is enabled.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user