diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-13 01:53:27 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-11-13 01:56:50 +0100 |
| commit | 2376b3bdfa573027c1ee4d66f8fdd6ca422a0fdd (patch) | |
| tree | 7f5159472bc75c53734dc2559ab9b0579a28af79 /embassy-stm32 | |
| parent | f00e97a5f14b25d261eafba7cbc63b035c938996 (diff) | |
stm32/rcc: fix pll enum naming on f4, f7.
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/src/rcc/f4f7.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embassy-stm32/src/rcc/f4f7.rs b/embassy-stm32/src/rcc/f4f7.rs index 9e8c639d0..718ba9b7c 100644 --- a/embassy-stm32/src/rcc/f4f7.rs +++ b/embassy-stm32/src/rcc/f4f7.rs | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | use crate::pac::pwr::vals::Vos; | 1 | use crate::pac::pwr::vals::Vos; |
| 2 | pub use crate::pac::rcc::vals::{ | 2 | pub use crate::pac::rcc::vals::{ |
| 3 | Hpre as AHBPrescaler, Pllm as PllPreDiv, Plln as PllMul, Pllp, Pllq, Pllr, Pllsrc as PllSource, | 3 | Hpre as AHBPrescaler, Pllm as PllPreDiv, Plln as PllMul, Pllp as PllPDiv, Pllq as PllQDiv, Pllr as PllRDiv, |
| 4 | Ppre as APBPrescaler, Sw as Sysclk, | 4 | Pllsrc as PllSource, Ppre as APBPrescaler, Sw as Sysclk, |
| 5 | }; | 5 | }; |
| 6 | use crate::pac::{FLASH, PWR, RCC}; | 6 | use crate::pac::{FLASH, PWR, RCC}; |
| 7 | use crate::rcc::{set_freqs, Clocks}; | 7 | use crate::rcc::{set_freqs, Clocks}; |
| @@ -49,11 +49,11 @@ pub struct Pll { | |||
| 49 | pub mul: PllMul, | 49 | pub mul: PllMul, |
| 50 | 50 | ||
| 51 | /// PLL P division factor. If None, PLL P output is disabled. | 51 | /// PLL P division factor. If None, PLL P output is disabled. |
| 52 | pub divp: Option<Pllp>, | 52 | pub divp: Option<PllPDiv>, |
| 53 | /// PLL Q division factor. If None, PLL Q output is disabled. | 53 | /// PLL Q division factor. If None, PLL Q output is disabled. |
| 54 | pub divq: Option<Pllq>, | 54 | pub divq: Option<PllQDiv>, |
| 55 | /// PLL R division factor. If None, PLL R output is disabled. | 55 | /// PLL R division factor. If None, PLL R output is disabled. |
| 56 | pub divr: Option<Pllr>, | 56 | pub divr: Option<PllRDiv>, |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | /// Configuration of the core clocks | 59 | /// Configuration of the core clocks |
