diff options
| author | James Munns <[email protected]> | 2025-11-14 15:37:48 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-11-14 15:37:48 +0100 |
| commit | 9b91d886e6a5067d6a553715a053db653af55ca6 (patch) | |
| tree | 1155ea138e59f0babec1bb331ab5b48ec0029da7 /src/clocks | |
| parent | 9f889d015ef5d373343ad6c769824e28be780e53 (diff) | |
Cargo fmt
Diffstat (limited to 'src/clocks')
| -rw-r--r-- | src/clocks/mod.rs | 9 |
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. |
| 3 | use core::cell::RefCell; | 3 | use core::cell::RefCell; |
| 4 | 4 | ||
| 5 | use mcxa_pac::scg0::{ | 5 | use mcxa_pac::scg0::firccsr::{FircFclkPeriphEn, FircSclkPeriphEn, Fircsten}; |
| 6 | firccsr::{FircFclkPeriphEn, FircSclkPeriphEn, Fircsten}, | 6 | use mcxa_pac::scg0::sirccsr::{SircClkPeriphEn, Sircsten}; |
| 7 | sirccsr::{SircClkPeriphEn, Sircsten}, | ||
| 8 | }; | ||
| 9 | use periph_helpers::SPConfHelper; | 7 | use periph_helpers::SPConfHelper; |
| 10 | 8 | ||
| 11 | use crate::pac; | 9 | use crate::pac; |
| @@ -149,7 +147,8 @@ impl SPConfHelper for NoConfig { | |||
| 149 | } | 147 | } |
| 150 | 148 | ||
| 151 | pub mod gate { | 149 | pub 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); |
