pub struct W(/* private fields */);
Expand description
Register TAFCR
writer
Implementations§
source§impl W
impl W
sourcepub fn alarmouttype(
&mut self
) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 18>
pub fn alarmouttype( &mut self ) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 18>
Bit 18 - AFO_ALARM output type
sourcepub fn tsinsel(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 17>
pub fn tsinsel(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 17>
Bit 17 - TIMESTAMP mapping
sourcepub fn tamp1insel(
&mut self
) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 16>
pub fn tamp1insel( &mut self ) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 16>
Bit 16 - TAMPER1 mapping
sourcepub fn tamppudis(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 15>
pub fn tamppudis(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 15>
Bit 15 - TAMPER pull-up disable
sourcepub fn tampprch(
&mut self
) -> FieldWriterRaw<'_, u32, TAFCR_SPEC, u8, u8, Unsafe, 2, 13>
pub fn tampprch( &mut self ) -> FieldWriterRaw<'_, u32, TAFCR_SPEC, u8, u8, Unsafe, 2, 13>
Bits 13:14 - Tamper precharge duration
sourcepub fn tampflt(
&mut self
) -> FieldWriterRaw<'_, u32, TAFCR_SPEC, u8, u8, Unsafe, 2, 11>
pub fn tampflt( &mut self ) -> FieldWriterRaw<'_, u32, TAFCR_SPEC, u8, u8, Unsafe, 2, 11>
Bits 11:12 - Tamper filter count
sourcepub fn tampfreq(
&mut self
) -> FieldWriterRaw<'_, u32, TAFCR_SPEC, u8, u8, Unsafe, 3, 8>
pub fn tampfreq( &mut self ) -> FieldWriterRaw<'_, u32, TAFCR_SPEC, u8, u8, Unsafe, 3, 8>
Bits 8:10 - Tamper sampling frequency
sourcepub fn tampts(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 7>
pub fn tampts(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 7>
Bit 7 - Activate timestamp on tamper detection event
sourcepub fn tamp2trg(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 4>
pub fn tamp2trg(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 4>
Bit 4 - Active level for tamper 2
sourcepub fn tamp2e(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 3>
pub fn tamp2e(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 3>
Bit 3 - Tamper 2 detection enable
sourcepub fn tampie(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 2>
pub fn tampie(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 2>
Bit 2 - Tamper interrupt enable
sourcepub fn tamp1trg(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 1>
pub fn tamp1trg(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 1>
Bit 1 - Active level for tamper 1
sourcepub fn tamp1e(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 0>
pub fn tamp1e(&mut self) -> BitWriterRaw<'_, u32, TAFCR_SPEC, bool, BitM, 0>
Bit 0 - Tamper 1 detection enable
Methods from Deref<Target = W<TAFCR_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§
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