aboutsummaryrefslogtreecommitdiff
path: root/src/clocks
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-11-14 15:37:48 +0100
committerJames Munns <[email protected]>2025-11-14 15:37:48 +0100
commit9b91d886e6a5067d6a553715a053db653af55ca6 (patch)
tree1155ea138e59f0babec1bb331ab5b48ec0029da7 /src/clocks
parent9f889d015ef5d373343ad6c769824e28be780e53 (diff)
Cargo fmt
Diffstat (limited to 'src/clocks')
-rw-r--r--src/clocks/mod.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/clocks/mod.rs b/src/clocks/mod.rs
index db41db628..24e118e38 100644
--- a/src/clocks/mod.rs
+++ b/src/clocks/mod.rs
@@ -2,10 +2,8 @@
2//! Provides reusable gate abstractions for peripherals used by the examples. 2//! Provides reusable gate abstractions for peripherals used by the examples.
3use core::cell::RefCell; 3use core::cell::RefCell;
4 4
5use mcxa_pac::scg0::{ 5use mcxa_pac::scg0::firccsr::{FircFclkPeriphEn, FircSclkPeriphEn, Fircsten};
6 firccsr::{FircFclkPeriphEn, FircSclkPeriphEn, Fircsten}, 6use mcxa_pac::scg0::sirccsr::{SircClkPeriphEn, Sircsten};
7 sirccsr::{SircClkPeriphEn, Sircsten},
8};
9use periph_helpers::SPConfHelper; 7use periph_helpers::SPConfHelper;
10 8
11use crate::pac; 9use crate::pac;
@@ -149,7 +147,8 @@ impl SPConfHelper for NoConfig {
149} 147}
150 148
151pub mod gate { 149pub mod gate {
152 use super::{periph_helpers::{AdcConfig, LpuartConfig, OsTimerConfig}, *}; 150 use super::periph_helpers::{AdcConfig, LpuartConfig, OsTimerConfig};
151 use super::*;
153 152
154 impl_cc_gate!(PORT1, mrcc_glb_cc1, port1, NoConfig); 153 impl_cc_gate!(PORT1, mrcc_glb_cc1, port1, NoConfig);
155 impl_cc_gate!(PORT2, mrcc_glb_cc1, port2, NoConfig); 154 impl_cc_gate!(PORT2, mrcc_glb_cc1, port2, NoConfig);