pub struct W(/* private fields */);Expand description
Register TAMPCR writer
Implementations§
Source§impl W
impl W
Sourcepub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_>
pub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_>
Bit 1 - Active level for tamper 1
Sourcepub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_>
pub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_>
Bit 4 - Active level for tamper 2
Sourcepub fn tamp3trg(&mut self) -> TAMP3TRG_W<'_>
pub fn tamp3trg(&mut self) -> TAMP3TRG_W<'_>
Bit 6 - Active level for tamper 3
Sourcepub fn tampfreq(&mut self) -> TAMPFREQ_W<'_>
pub fn tampfreq(&mut self) -> TAMPFREQ_W<'_>
Bits 8:10 - Tamper sampling frequency
Sourcepub fn tampprch(&mut self) -> TAMPPRCH_W<'_>
pub fn tampprch(&mut self) -> TAMPPRCH_W<'_>
Bits 13:14 - Tamper precharge duration
Sourcepub fn tamppudis(&mut self) -> TAMPPUDIS_W<'_>
pub fn tamppudis(&mut self) -> TAMPPUDIS_W<'_>
Bit 15 - TAMPER pull-up disable
Sourcepub fn tamp1noerase(&mut self) -> TAMP1NOERASE_W<'_>
pub fn tamp1noerase(&mut self) -> TAMP1NOERASE_W<'_>
Bit 17 - Tamper 1 no erase
Sourcepub fn tamp2noerase(&mut self) -> TAMP2NOERASE_W<'_>
pub fn tamp2noerase(&mut self) -> TAMP2NOERASE_W<'_>
Bit 20 - Tamper 2 no erase
Sourcepub fn tamp3noerase(&mut self) -> TAMP3NOERASE_W<'_>
pub fn tamp3noerase(&mut self) -> TAMP3NOERASE_W<'_>
Bit 23 - Tamper 3 no erase
Methods from Deref<Target = W<TAMPCR_SPEC>>§
Sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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