Struct stm32_metapac::timer::regs::Af1Adv
#[repr(transparent)]pub struct Af1Adv(pub u32);
Expand description
alternate function register 1
Tuple Fields§
§0: u32
Implementations§
§impl Af1Adv
impl Af1Adv
pub fn set_bkcmpe(&mut self, n: usize, val: bool)
pub fn set_bkcmpe(&mut self, n: usize, val: bool)
TIM_BRK_CMPx (x=1-2) enable
pub const fn bkdf1bke(&self) -> bool
pub const fn bkdf1bke(&self) -> bool
BRK DFSDM1_BREAKx enable (x=0 if TIM15, x=1 if TIM16, x=2 if TIM17)
pub fn set_bkdf1bke(&mut self, val: bool)
pub fn set_bkdf1bke(&mut self, val: bool)
BRK DFSDM1_BREAKx enable (x=0 if TIM15, x=1 if TIM16, x=2 if TIM17)
pub fn set_bkcmpp(&mut self, n: usize, val: Bkinp)
pub fn set_bkcmpp(&mut self, n: usize, val: Bkinp)
TIM_BRK_CMPx (x=1-2) input polarity
pub fn set_etrsel(&mut self, val: u8)
pub fn set_etrsel(&mut self, val: u8)
etr_in source selection
Trait Implementations§
impl Copy for Af1Adv
impl Eq for Af1Adv
impl StructuralPartialEq for Af1Adv
Auto Trait Implementations§
impl Freeze for Af1Adv
impl RefUnwindSafe for Af1Adv
impl Send for Af1Adv
impl Sync for Af1Adv
impl Unpin for Af1Adv
impl UnwindSafe for Af1Adv
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)