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