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 aef1521 commit 626d896Copy full SHA for 626d896
src/rcc.rs
@@ -1,3 +1,4 @@
1
+#[cfg(feature="device-selected")]
2
use crate::stm32::rcc::cfgr::SWW;
3
use crate::time::Hertz;
4
@@ -26,7 +27,9 @@ pub struct Rcc {
26
27
pub cfgr: CFGR,
28
}
29
30
+#[allow(unused)]
31
const HSI: u32 = 8_000_000; // Hz
32
33
const HSI48: u32 = 48_000_000; // Hz - (available on STM32F04x, STM32F07x and STM32F09x devices only)
34
35
#[allow(unused)]
0 commit comments