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 StructuralEq for TimGp32
impl StructuralPartialEq for TimGp32
impl Sync for TimGp32
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