#[repr(transparent)]pub struct Cr(pub u32);Expand description
Control
Tuple Fields§
§0: u32Implementations§
Source§impl Cr
impl Cr
Sourcepub const fn swr(&self) -> CrSwr
pub const fn swr(&self) -> CrSwr
Software reset is not self-clearing: it must be released by writing zero. Locking CR disables software reset. No reset operation is performed by this model.
Sourcepub const fn set_swr(&mut self, val: CrSwr)
pub const fn set_swr(&mut self, val: CrSwr)
Software reset is not self-clearing: it must be released by writing zero. Locking CR disables software reset. No reset operation is performed by this model.
Sourcepub const fn den(&self) -> CrDen
pub const fn den(&self) -> CrDen
Enable before enabling any glitch filter; disable only after disabling all filters.
Sourcepub const fn set_den(&mut self, val: CrDen)
pub const fn set_den(&mut self, val: CrDen)
Enable before enabling any glitch filter; disable only after disabling all filters.
Sourcepub const fn um(&self) -> CrUm
pub const fn um(&self) -> CrUm
Permits clearing locked SR tamper flags only while DTF=0 and only for sources enabled for interrupt (IER=1) with corresponding tamper enable clear (TER=0).
Sourcepub const fn set_um(&mut self, val: CrUm)
pub const fn set_um(&mut self, val: CrUm)
Permits clearing locked SR tamper flags only while DTF=0 and only for sources enabled for interrupt (IER=1) with corresponding tamper enable clear (TER=0).
Sourcepub const fn set_distam(&mut self, val: CrDistam)
pub const fn set_distam(&mut self, val: CrDistam)
Disable Prescaler On Tamper