Struct stm32wlxx_hal::pac::tim17::af1::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AF1
writer
Implementations§
§impl W
impl W
pub fn bkcmp2p(
&mut self
) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP2P_A, BitM, 11>
pub fn bkcmp2p( &mut self ) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP2P_A, BitM, 11>
Bit 11 - BRK COMP2 input polarity
pub fn bkcmp1p(
&mut self
) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP1P_A, BitM, 10>
pub fn bkcmp1p( &mut self ) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP1P_A, BitM, 10>
Bit 10 - BRK COMP1 input polarity
pub fn bkinp(&mut self) -> BitWriterRaw<'_, u32, AF1_SPEC, BKINP_A, BitM, 9>
pub fn bkinp(&mut self) -> BitWriterRaw<'_, u32, AF1_SPEC, BKINP_A, BitM, 9>
Bit 9 - BRK BKIN input polarity
pub fn bkcmp2e(&mut self) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP2E_A, BitM, 2>
pub fn bkcmp2e(&mut self) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP2E_A, BitM, 2>
Bit 2 - BRK COMP2 enable
pub fn bkcmp1e(&mut self) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP1E_A, BitM, 1>
pub fn bkcmp1e(&mut self) -> BitWriterRaw<'_, u32, AF1_SPEC, BKCMP1E_A, BitM, 1>
Bit 1 - BRK COMP1 enable
Methods from Deref<Target = W<AF1_SPEC>>§
pub 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