Struct stm32_metapac::timer::regs::Af2Adv
#[repr(transparent)]pub struct Af2Adv(pub u32);
Expand description
alternate function register 2
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Af2Adv
impl Af2Adv
pub fn set_bk2ine(&mut self, val: bool)
pub fn set_bk2ine(&mut self, val: bool)
TIMx_BKIN2 input enable
pub fn set_bk2cmpe(&mut self, n: usize, val: bool)
pub fn set_bk2cmpe(&mut self, n: usize, val: bool)
TIM_BRK2_CMPx (x=1-8) enable
pub const fn bk2df1bk1e(&self) -> bool
pub const fn bk2df1bk1e(&self) -> bool
BRK2 DFSDM1_BREAK1 enable
pub fn set_bk2df1bk1e(&mut self, val: bool)
pub fn set_bk2df1bk1e(&mut self, val: bool)
BRK2 DFSDM1_BREAK1 enable
pub fn set_bk2inp(&mut self, val: Bkinp)
pub fn set_bk2inp(&mut self, val: Bkinp)
TIMx_BK2IN input polarity
pub fn set_bk2cmpp(&mut self, n: usize, val: Bkinp)
pub fn set_bk2cmpp(&mut self, n: usize, val: Bkinp)
TIM_BRK2_CMPx (x=1-4) input polarity
Trait Implementationsยง
impl Copy for Af2Adv
impl Eq for Af2Adv
impl StructuralEq for Af2Adv
impl StructuralPartialEq for Af2Adv
Auto Trait Implementationsยง
impl RefUnwindSafe for Af2Adv
impl Send for Af2Adv
impl Sync for Af2Adv
impl Unpin for Af2Adv
impl UnwindSafe for Af2Adv
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