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