pub struct W(_);
Expand description
Register AF2
writer
Implementations
sourceimpl W
impl W
sourcepub fn bk2ine(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 0>
pub fn bk2ine(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 0>
Bit 0 - BRK2 BKIN input enable
sourcepub fn bk2cmp1e(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 1>
pub fn bk2cmp1e(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 1>
Bit 1 - BRK2 COMP1 enable
sourcepub fn bk2cmp2e(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 2>
pub fn bk2cmp2e(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 2>
Bit 2 - BRK2 COMP2 enable
sourcepub fn bk2df1bk1e(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 8>
pub fn bk2df1bk1e(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 8>
Bit 8 - BRK2 dfsdm1_break[1] enable
sourcepub fn bk2inp(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 9>
pub fn bk2inp(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 9>
Bit 9 - BRK2 BKIN2 input polarity
sourcepub fn bk2cmp1p(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 10>
pub fn bk2cmp1p(&mut self) -> BitWriterRaw<'_, u32, AF2_SPEC, bool, BitM, 10>
Bit 10 - BRK2 COMP1 input polarit
Methods from Deref<Target = W<AF2_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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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