aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/rcc/mod.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/embassy-stm32/src/rcc/mod.rs b/embassy-stm32/src/rcc/mod.rs
index e5bf15c86..541d9c148 100644
--- a/embassy-stm32/src/rcc/mod.rs
+++ b/embassy-stm32/src/rcc/mod.rs
@@ -46,13 +46,17 @@ pub struct Clocks {
46 #[cfg(any(rcc_l0, rcc_l1, rcc_f0, rcc_f1, rcc_f3, rcc_f0x0, rcc_g0))] 46 #[cfg(any(rcc_l0, rcc_l1, rcc_f0, rcc_f1, rcc_f3, rcc_f0x0, rcc_g0))]
47 pub ahb: Hertz, 47 pub ahb: Hertz,
48 48
49 #[cfg(any(rcc_l4, rcc_f4, rcc_f7, rcc_h7, rcc_g4, rcc_u5, rcc_wb, rcc_wl5))] 49 #[cfg(any(
50 rcc_l4, rcc_f4, rcc_f410, rcc_f7, rcc_h7, rcc_g4, rcc_u5, rcc_wb, rcc_wl5
51 ))]
50 pub ahb1: Hertz, 52 pub ahb1: Hertz,
51 53
52 #[cfg(any(rcc_l4, rcc_f4, rcc_f7, rcc_h7, rcc_g4, rcc_u5, rcc_wb, rcc_wl5))] 54 #[cfg(any(
55 rcc_l4, rcc_f4, rcc_f410, rcc_f7, rcc_h7, rcc_g4, rcc_u5, rcc_wb, rcc_wl5
56 ))]
53 pub ahb2: Hertz, 57 pub ahb2: Hertz,
54 58
55 #[cfg(any(rcc_l4, rcc_f4, rcc_f7, rcc_h7, rcc_u5, rcc_wb, rcc_wl5))] 59 #[cfg(any(rcc_l4, rcc_f4, rcc_f410, rcc_f7, rcc_h7, rcc_u5, rcc_wb, rcc_wl5))]
56 pub ahb3: Hertz, 60 pub ahb3: Hertz,
57 61
58 #[cfg(any(rcc_h7))] 62 #[cfg(any(rcc_h7))]
@@ -61,7 +65,7 @@ pub struct Clocks {
61 #[cfg(any(rcc_h7))] 65 #[cfg(any(rcc_h7))]
62 pub apb4: Hertz, 66 pub apb4: Hertz,
63 67
64 #[cfg(any(rcc_f4, rcc_f7))] 68 #[cfg(any(rcc_f4, rcc_f410, rcc_f7))]
65 pub pll48: Option<Hertz>, 69 pub pll48: Option<Hertz>,
66 70
67 #[cfg(rcc_f1)] 71 #[cfg(rcc_f1)]