#[repr(transparent)]pub struct Cr(pub u32);Expand description
Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Cr
impl Cr
Sourcepub const fn swr(&self) -> bool
pub const fn swr(&self) -> bool
Software Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = SwReset: Perform a software reset.
Sourcepub const fn set_swr(&mut self, val: bool)
pub const fn set_swr(&mut self, val: bool)
Software Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = SwReset: Perform a software reset.
Sourcepub const fn um(&self) -> bool
pub const fn um(&self) -> bool
Update Mode. Raw bit values: false (0) = NoEffect: No effect.; true (1) = ClearInts: Allows the clearing of interrupts.
Sourcepub const fn set_um(&mut self, val: bool)
pub const fn set_um(&mut self, val: bool)
Update Mode. Raw bit values: false (0) = NoEffect: No effect.; true (1) = ClearInts: Allows the clearing of interrupts.
Sourcepub const fn distam(&self) -> bool
pub const fn distam(&self) -> bool
Disable Prescaler On Tamper. Raw bit values: false (0) = NoEffect: No effect.; true (1) = AutoDis: Automatically disables the prescaler after tamper detection.
Sourcepub const fn set_distam(&mut self, val: bool)
pub const fn set_distam(&mut self, val: bool)
Disable Prescaler On Tamper. Raw bit values: false (0) = NoEffect: No effect.; true (1) = AutoDis: Automatically disables the prescaler after tamper detection.