aboutsummaryrefslogtreecommitdiff
path: root/embassy-mcxa/src/ostimer.rs
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-12-04 19:19:23 +0100
committerJames Munns <[email protected]>2025-12-04 19:19:23 +0100
commite7e4d0e03f6ccee7a8577058bfccefaf92b2689e (patch)
tree21fedd516fc5bd2cc54f893a9ef119ee3d847afd /embassy-mcxa/src/ostimer.rs
parent6530bcd8bcff9169f39732ba93a612f9262b809e (diff)
rustfmt
Diffstat (limited to 'embassy-mcxa/src/ostimer.rs')
-rw-r--r--embassy-mcxa/src/ostimer.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/embassy-mcxa/src/ostimer.rs b/embassy-mcxa/src/ostimer.rs
index c51812e3d..9e66e82d8 100644
--- a/embassy-mcxa/src/ostimer.rs
+++ b/embassy-mcxa/src/ostimer.rs
@@ -32,7 +32,7 @@ use core::sync::atomic::{AtomicBool, Ordering};
32use embassy_hal_internal::{Peri, PeripheralType}; 32use embassy_hal_internal::{Peri, PeripheralType};
33 33
34use crate::clocks::periph_helpers::{OsTimerConfig, OstimerClockSel}; 34use crate::clocks::periph_helpers::{OsTimerConfig, OstimerClockSel};
35use crate::clocks::{assert_reset, enable_and_reset, is_reset_released, release_reset, Gate, PoweredClock}; 35use crate::clocks::{Gate, PoweredClock, assert_reset, enable_and_reset, is_reset_released, release_reset};
36use crate::interrupt::InterruptExt; 36use crate::interrupt::InterruptExt;
37use crate::pac; 37use crate::pac;
38 38
@@ -521,11 +521,11 @@ pub mod time_driver {
521 use embassy_time_driver as etd; 521 use embassy_time_driver as etd;
522 522
523 use super::{ 523 use super::{
524 bin_to_gray, now_ticks_read, Regs, ALARM_ACTIVE, ALARM_CALLBACK, ALARM_FLAG, ALARM_TARGET_TIME, 524 ALARM_ACTIVE, ALARM_CALLBACK, ALARM_FLAG, ALARM_TARGET_TIME, EVTIMER_HI_MASK, EVTIMER_HI_SHIFT,
525 EVTIMER_HI_MASK, EVTIMER_HI_SHIFT, LOW_32_BIT_MASK, 525 LOW_32_BIT_MASK, Regs, bin_to_gray, now_ticks_read,
526 }; 526 };
527 use crate::clocks::periph_helpers::{OsTimerConfig, OstimerClockSel}; 527 use crate::clocks::periph_helpers::{OsTimerConfig, OstimerClockSel};
528 use crate::clocks::{enable_and_reset, PoweredClock}; 528 use crate::clocks::{PoweredClock, enable_and_reset};
529 use crate::pac; 529 use crate::pac;
530 530
531 #[allow(non_camel_case_types)] 531 #[allow(non_camel_case_types)]