pub struct W(_);
Expand description
Register TAFCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn alarmouttype(&mut self) -> ALARMOUTTYPE_W<'_>
pub fn alarmouttype(&mut self) -> ALARMOUTTYPE_W<'_>
Bit 18 - AFO_ALARM output type
sourcepub fn tamp1insel(&mut self) -> TAMP1INSEL_W<'_>
pub fn tamp1insel(&mut self) -> TAMP1INSEL_W<'_>
Bit 16 - TAMPER1 mapping
sourcepub fn tamppudis(&mut self) -> TAMPPUDIS_W<'_>
pub fn tamppudis(&mut self) -> TAMPPUDIS_W<'_>
Bit 15 - TAMPER pull-up disable
sourcepub fn tampprch(&mut self) -> TAMPPRCH_W<'_>
pub fn tampprch(&mut self) -> TAMPPRCH_W<'_>
Bits 13:14 - Tamper precharge duration
sourcepub fn tampfreq(&mut self) -> TAMPFREQ_W<'_>
pub fn tampfreq(&mut self) -> TAMPFREQ_W<'_>
Bits 8:10 - Tamper sampling frequency
sourcepub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_>
pub fn tamp2trg(&mut self) -> TAMP2TRG_W<'_>
Bit 4 - Active level for tamper 2
sourcepub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_>
pub fn tamp1trg(&mut self) -> TAMP1TRG_W<'_>
Bit 1 - Active level for tamper 1
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
sourceimpl From<W<TAFCR_SPEC>> for W
impl From<W<TAFCR_SPEC>> for W
sourcefn from(writer: W<TAFCR_SPEC>) -> W
fn from(writer: W<TAFCR_SPEC>) -> W
Converts to this type from the input type.
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