Struct stm32wlxx_hal::pac::tim1::bdtr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register BDTR
writer
Implementations§
§impl W
impl W
pub fn bk2bid(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, BK2BID_A, BitM, 29>
pub fn bk2bid(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, BK2BID_A, BitM, 29>
Bit 29 - Break2 bidirectional
pub fn bk2dsrm(
&mut self
) -> BitWriterRaw<'_, u32, BDTR_SPEC, BK2DSRM_A, BitM, 27>
pub fn bk2dsrm( &mut self ) -> BitWriterRaw<'_, u32, BDTR_SPEC, BK2DSRM_A, BitM, 27>
Bit 27 - Break2 Disarm
pub fn bk2p(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, BK2P_A, BitM, 25>
pub fn bk2p(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, BK2P_A, BitM, 25>
Bit 25 - Break 2 polarity
pub fn bk2f(
&mut self
) -> FieldWriterRaw<'_, u32, BDTR_SPEC, u8, BK2F_A, Safe, 4, 20>
pub fn bk2f( &mut self ) -> FieldWriterRaw<'_, u32, BDTR_SPEC, u8, BK2F_A, Safe, 4, 20>
Bits 20:23 - Break 2 filter
pub fn bkf(
&mut self
) -> FieldWriterRaw<'_, u32, BDTR_SPEC, u8, BKF_A, Safe, 4, 16>
pub fn bkf( &mut self ) -> FieldWriterRaw<'_, u32, BDTR_SPEC, u8, BKF_A, Safe, 4, 16>
Bits 16:19 - Break filter
pub fn moe(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, MOE_A, BitM, 15>
pub fn moe(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, MOE_A, BitM, 15>
Bit 15 - Main output enable
pub fn aoe(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, AOE_A, BitM, 14>
pub fn aoe(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, AOE_A, BitM, 14>
Bit 14 - Automatic output enable
pub fn ossr(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, OSSR_A, BitM, 11>
pub fn ossr(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, OSSR_A, BitM, 11>
Bit 11 - Off-state selection for Run mode
pub fn ossi(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, OSSI_A, BitM, 10>
pub fn ossi(&mut self) -> BitWriterRaw<'_, u32, BDTR_SPEC, OSSI_A, BitM, 10>
Bit 10 - Off-state selection for Idle mode
pub fn lock(
&mut self
) -> FieldWriterRaw<'_, u32, BDTR_SPEC, u8, LOCK_A, Safe, 2, 8>
pub fn lock( &mut self ) -> FieldWriterRaw<'_, u32, BDTR_SPEC, u8, LOCK_A, Safe, 2, 8>
Bits 8:9 - Lock configuration
Methods from Deref<Target = W<BDTR_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