pub struct Config {
pub init_match_max: bool,
pub power: PoweredClock,
pub source: OstimerClockSel,
}Expand description
Configuration for Ostimer::new()
Fields§
§init_match_max: boolInitialize MATCH registers to their max values and mask/clear the interrupt flag.
power: PoweredClock§source: OstimerClockSelTrait 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 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