Struct stm32_metapac::timer::TimGp16
pub struct TimGp16 { /* private fields */ }
Expand description
General purpose 16-bit timer
Implementations§
§impl TimGp16
impl TimGp16
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 TimGp16
impl Eq for TimGp16
impl Send for TimGp16
impl StructuralEq for TimGp16
impl StructuralPartialEq for TimGp16
impl Sync for TimGp16
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