pub struct Config {
pub clock_source: ClockSource,
pub clock_freq_khz: u32,
pub alarm_wake_mode: AlarmWakeMode,
}Expand description
AON Timer configuration
Fields§
§clock_source: ClockSourceClock source for the timer
clock_freq_khz: u32Clock frequency in kHz
alarm_wake_mode: AlarmWakeModeAlarm wake mode
Controls which low-power wake mechanisms are enabled for alarms.
See AlarmWakeMode for details on each mode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more