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 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
pub fn set_ocrsel(&mut self, val: u8)
pub fn set_ocrsel(&mut self, val: u8)
ocref_clr source selection
Trait Implementations§
impl Copy for Af2Adv
impl Eq for Af2Adv
impl StructuralPartialEq for Af2Adv
Auto Trait Implementations§
impl Freeze for Af2Adv
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
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
)