pub struct OsTimerConfig {
pub power: PoweredClock,
pub source: OstimerClockSel,
}Expand description
Top level configuration for the OSTimer peripheral
Fields§
§power: PoweredClockPower state required for this peripheral
source: OstimerClockSelSelected clock source for this peripheral
Trait Implementations§
Source§impl SPConfHelper for OsTimerConfig
impl SPConfHelper for OsTimerConfig
Source§fn post_enable_config(&self, clocks: &Clocks) -> Result<u32, ClockError>
fn post_enable_config(&self, clocks: &Clocks) -> Result<u32, ClockError>
This method is called AFTER a given MRCC peripheral has been enabled (e.g. un-gated),
but BEFORE the peripheral reset line is reset. Read more
Auto Trait Implementations§
impl Freeze for OsTimerConfig
impl RefUnwindSafe for OsTimerConfig
impl Send for OsTimerConfig
impl Sync for OsTimerConfig
impl Unpin for OsTimerConfig
impl UnwindSafe for OsTimerConfig
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