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§
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