Struct stm32_metapac::timer::TimAdv
pub struct TimAdv { /* private fields */ }
Expand description
Advanced Control timers
Implementations§
§impl TimAdv
impl TimAdv
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn ccmr_input(self, n: usize) -> Reg<CcmrInput2ch, RW>
pub const fn ccmr_input(self, n: usize) -> Reg<CcmrInput2ch, RW>
capture/compare mode register 1-2 (input mode)
pub const fn ccmr_output(self, n: usize) -> Reg<CcmrOutputGp16, RW>
pub const fn ccmr_output(self, n: usize) -> Reg<CcmrOutputGp16, RW>
capture/compare mode register 1-2 (output mode)
pub const fn arr_dither(self) -> Reg<ArrDitherCore, RW>
pub const fn arr_dither(self) -> Reg<ArrDitherCore, RW>
auto-reload register (Dither mode enabled)
pub const fn ccr_dither(self, n: usize) -> Reg<CcrDither1ch, RW>
pub const fn ccr_dither(self, n: usize) -> Reg<CcrDither1ch, RW>
capture/compare register x (x=1-2) (Dither mode enabled)
pub const fn ccr5_dither(self) -> Reg<Ccr5DitherAdv, RW>
pub const fn ccr5_dither(self) -> Reg<Ccr5DitherAdv, RW>
capture/compare register 5 (Dither mode enabled)
pub const fn ccr6_dither(self) -> Reg<CcrDither1ch, RW>
pub const fn ccr6_dither(self) -> Reg<CcrDither1ch, RW>
capture/compare register 6 (Dither mode enabled)
pub const fn dtr2(self) -> Reg<Dtr21chCmp, RW>
pub const fn dtr2(self) -> Reg<Dtr21chCmp, RW>
break and dead-time register
Trait Implementations§
impl Copy for TimAdv
impl Eq for TimAdv
impl Send for TimAdv
impl StructuralEq for TimAdv
impl StructuralPartialEq for TimAdv
impl Sync for TimAdv
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