pub struct W(/* private fields */);
Expand description
Register AF2
writer
Implementations§
Source§impl W
impl W
Sourcepub fn bk2cmp1e(&mut self) -> BK2CMP1E_W<'_>
pub fn bk2cmp1e(&mut self) -> BK2CMP1E_W<'_>
Bit 1 - BRK2 COMP1 enable
Sourcepub fn bk2cmp2e(&mut self) -> BK2CMP2E_W<'_>
pub fn bk2cmp2e(&mut self) -> BK2CMP2E_W<'_>
Bit 2 - BRK2 COMP2 enable
Sourcepub fn bk2dfbk0e(&mut self) -> BK2DFBK0E_W<'_>
pub fn bk2dfbk0e(&mut self) -> BK2DFBK0E_W<'_>
Bit 8 - BRK2 DFSDM_BREAK0 enable
Sourcepub fn bk2cmp1p(&mut self) -> BK2CMP1P_W<'_>
pub fn bk2cmp1p(&mut self) -> BK2CMP1P_W<'_>
Bit 10 - BRK2 COMP1 input polarity
Sourcepub fn bk2cmp2p(&mut self) -> BK2CMP2P_W<'_>
pub fn bk2cmp2p(&mut self) -> BK2CMP2P_W<'_>
Bit 11 - BRK2 COMP2 input polarity
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§
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