Struct stm32_metapac::timer::Tim2ch
pub struct Tim2ch { /* private fields */ }
Expand description
2-channel timers
Implementations§
§impl Tim2ch
impl Tim2ch
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 (input mode)
pub const fn ccmr_output(self, n: usize) -> Reg<CcmrOutput2ch, RW>
pub const fn ccmr_output(self, n: usize) -> Reg<CcmrOutput2ch, RW>
capture/compare mode register 1 (output mode)
Trait Implementations§
impl Copy for Tim2ch
impl Eq for Tim2ch
impl Send for Tim2ch
impl StructuralPartialEq for Tim2ch
impl Sync for Tim2ch
Auto Trait Implementations§
impl Freeze for Tim2ch
impl RefUnwindSafe for Tim2ch
impl Unpin for Tim2ch
impl UnwindSafe for Tim2ch
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
)