diff options
| author | vinsynth <[email protected]> | 2025-02-02 18:53:06 -0500 |
|---|---|---|
| committer | vinsynth <[email protected]> | 2025-02-02 18:53:06 -0500 |
| commit | 6ec72c0af0b2682d5bea345832f6a0c7a6284ead (patch) | |
| tree | 5b4ac173543d93beb81cf464382d312d30f72ccc | |
| parent | ce04cf83407f0c70d7d1eec4ed1de2dfbef06dd6 (diff) | |
set PLLI2SM and plli2s_src f423
| -rw-r--r-- | embassy-stm32/src/rcc/f247.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/f247.rs b/embassy-stm32/src/rcc/f247.rs index b855d3c09..79d793dcc 100644 --- a/embassy-stm32/src/rcc/f247.rs +++ b/embassy-stm32/src/rcc/f247.rs | |||
| @@ -414,9 +414,9 @@ fn init_pll(instance: PllInstance, config: Option<Pll>, input: &PllInput) -> Pll | |||
| 414 | }), | 414 | }), |
| 415 | #[cfg(any(all(stm32f4, not(stm32f410)), stm32f7))] | 415 | #[cfg(any(all(stm32f4, not(stm32f410)), stm32f7))] |
| 416 | PllInstance::Plli2s => RCC.plli2scfgr().write(|w| { | 416 | PllInstance::Plli2s => RCC.plli2scfgr().write(|w| { |
| 417 | #[cfg(any(stm32f411, stm32f412, stm32f413, stm32f446))] | 417 | #[cfg(any(stm32f411, stm32f412, stm32f413, stm32f423, stm32f446))] |
| 418 | w.set_pllm(pll.prediv); | 418 | w.set_pllm(pll.prediv); |
| 419 | #[cfg(any(stm32f412, stm32f413))] | 419 | #[cfg(any(stm32f412, stm32f413, stm32f423))] |
| 420 | w.set_pllsrc(input.source); | 420 | w.set_pllsrc(input.source); |
| 421 | 421 | ||
| 422 | write_fields!(w); | 422 | write_fields!(w); |
