pub struct W(_);
Expand description
Register CR2
writer
Implementations
sourceimpl W
impl W
sourcepub fn tamp1noer(&mut self) -> TAMP1NOER_W<'_, 0>
pub fn tamp1noer(&mut self) -> TAMP1NOER_W<'_, 0>
Bit 0 - Tamper 1 no erase
sourcepub fn tamp2noer(&mut self) -> TAMP2NOER_W<'_, 1>
pub fn tamp2noer(&mut self) -> TAMP2NOER_W<'_, 1>
Bit 1 - Tamper 2 no erase
sourcepub fn tamp1msk(&mut self) -> TAMP1MSK_W<'_, 16>
pub fn tamp1msk(&mut self) -> TAMP1MSK_W<'_, 16>
Bit 16 - Tamper 1 mask The tamper 1 interrupt must not be enabled when TAMP1MSK is set.
sourcepub fn tamp2msk(&mut self) -> TAMP2MSK_W<'_, 17>
pub fn tamp2msk(&mut self) -> TAMP2MSK_W<'_, 17>
Bit 17 - Tamper 2 mask The tamper 2 interrupt must not be enabled when TAMP2MSK is set.
sourcepub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_, 24>
pub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_, 24>
Bit 24 - Active level for tamper 1 input (active mode disabled) If TAMPFLT = 00 Tamper 1 input rising edge and high level triggers a tamper detection event. If TAMPFLT = 00 Tamper 1 input falling edge and low level triggers a tamper detection event.
sourcepub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_, 25>
pub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_, 25>
Bit 25 - Active level for tamper 2 input (active mode disabled) If TAMPFLT = 00 Tamper 2 input rising edge and high level triggers a tamper detection event. If TAMPFLT = 00 Tamper 2 input falling edge and low level triggers a tamper detection event.
Methods from Deref<Target = W<CR2_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more