pub struct W(/* private fields */);Expand description
Register TAMPCR writer
Implementations§
Source§impl W
impl W
Sourcepub fn tamp1e(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 0>
pub fn tamp1e(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 0>
Bit 0 - Tamper 1 detection enable
Sourcepub fn tamp1trg(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 1>
pub fn tamp1trg(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 1>
Bit 1 - Active level for tamper 1
Sourcepub fn tampie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 2>
pub fn tampie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 2>
Bit 2 - Tamper interrupt enable
Sourcepub fn tamp2e(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 3>
pub fn tamp2e(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 3>
Bit 3 - Tamper 2 detection enable
Sourcepub fn tamp2trg(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 4>
pub fn tamp2trg(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 4>
Bit 4 - Active level for tamper 2
Sourcepub fn tamp3e(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 5>
pub fn tamp3e(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 5>
Bit 5 - Tamper 3 detection enable
Sourcepub fn tamp3trg(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 6>
pub fn tamp3trg(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 6>
Bit 6 - Active level for tamper 3
Sourcepub fn tampts(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 7>
pub fn tampts(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 7>
Bit 7 - Activate timestamp on tamper detection event
Sourcepub fn tampfreq(
&mut self,
) -> FieldWriterRaw<'_, u32, TAMPCR_SPEC, u8, u8, Unsafe, 3, 8>
pub fn tampfreq( &mut self, ) -> FieldWriterRaw<'_, u32, TAMPCR_SPEC, u8, u8, Unsafe, 3, 8>
Bits 8:10 - Tamper sampling frequency
Sourcepub fn tampflt(
&mut self,
) -> FieldWriterRaw<'_, u32, TAMPCR_SPEC, u8, u8, Unsafe, 2, 11>
pub fn tampflt( &mut self, ) -> FieldWriterRaw<'_, u32, TAMPCR_SPEC, u8, u8, Unsafe, 2, 11>
Bits 11:12 - Tamper filter count
Sourcepub fn tampprch(
&mut self,
) -> FieldWriterRaw<'_, u32, TAMPCR_SPEC, u8, u8, Unsafe, 2, 13>
pub fn tampprch( &mut self, ) -> FieldWriterRaw<'_, u32, TAMPCR_SPEC, u8, u8, Unsafe, 2, 13>
Bits 13:14 - Tamper precharge duration
Sourcepub fn tamppudis(
&mut self,
) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 15>
pub fn tamppudis( &mut self, ) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 15>
Bit 15 - TAMPER pull-up disable
Sourcepub fn tamp1ie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 16>
pub fn tamp1ie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 16>
Bit 16 - Tamper 1 interrupt enable
Sourcepub fn tamp1noerase(
&mut self,
) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 17>
pub fn tamp1noerase( &mut self, ) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 17>
Bit 17 - Tamper 1 no erase
Sourcepub fn tamp1mf(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 18>
pub fn tamp1mf(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 18>
Bit 18 - Tamper 1 mask flag
Sourcepub fn tamp2ie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 19>
pub fn tamp2ie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 19>
Bit 19 - Tamper 2 interrupt enable
Sourcepub fn tamp2noerase(
&mut self,
) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 20>
pub fn tamp2noerase( &mut self, ) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 20>
Bit 20 - Tamper 2 no erase
Sourcepub fn tamp2mf(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 21>
pub fn tamp2mf(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 21>
Bit 21 - Tamper 2 mask flag
Sourcepub fn tamp3ie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 22>
pub fn tamp3ie(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 22>
Bit 22 - Tamper 3 interrupt enable
Sourcepub fn tamp3noerase(
&mut self,
) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 23>
pub fn tamp3noerase( &mut self, ) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 23>
Bit 23 - Tamper 3 no erase
Sourcepub fn tamp3mf(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 24>
pub fn tamp3mf(&mut self) -> BitWriterRaw<'_, u32, TAMPCR_SPEC, bool, BitM, 24>
Bit 24 - Tamper 3 mask flag
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