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