We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78456de commit 00b2aa6Copy full SHA for 00b2aa6
src/rcc.rs
@@ -43,13 +43,16 @@
43
//! // needed to configure specific peripherals.
44
//! // Looking at the peripheral function parameters
45
//! // should give more insight, which peripheral clock is needed.
46
-//! .pclk1(16.mhz())
47
-//! .pclk2(16.mhz())
+//! .pclk1(12.mhz())
+//! .pclk2(12.mhz())
48
//! // Freeze / apply the configuration and setup all clocks
49
-//! .freeze(&mut flash.acr)
+//! .freeze(&mut flash.acr);
50
//! # }
51
-//!
52
//! ```
+//!
53
+//! All fields can be omitted and will internally be set to a calculated default.
54
+//! For more details read the documentation of the [`CFGR`] methods to
55
+//! find out how to setup the clock.
56
57
use crate::pac::{
58
rcc::{self, cfgr, cfgr2},
0 commit comments