Commit 4b92193
authored
Comments: Set PLLM, PLLN and PLLP
I have tested this code with a STM32f767 (at 216Mhz):
```rust
let p = pac::Peripherals::take().unwrap();
let rcc = p.RCC.constrain();
let clocks = rcc
.cfgr
.hse(HSEClock {
freq: 25_000_000,
mode: HSEClockMode::Bypass,
})
.use_pll()
.pllm(25)
.plln(432)
.pllp(PLLP::Div2)
.sysclk(216_000_000.hz())
.freeze();
```1 parent fd44adb commit 4b92193
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| 642 | + | |
| 643 | + | |
642 | 644 | | |
643 | 645 | | |
644 | 646 | | |
| |||
0 commit comments