Struct stm32_metapac::timer::Tim1chCmp
pub struct Tim1chCmp { /* private fields */ }
Expand description
1-channel with one complementary output timers
Implementations§
§impl Tim1chCmp
impl Tim1chCmp
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn dier(self) -> Reg<Dier1chCmp, RW>
pub const fn dier(self) -> Reg<Dier1chCmp, RW>
DMA/Interrupt enable register
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)
pub const fn ccer(self) -> Reg<Ccer1chCmp, RW>
pub const fn ccer(self) -> Reg<Ccer1chCmp, RW>
capture/compare enable register
pub const fn bdtr(self) -> Reg<Bdtr1chCmp, RW>
pub const fn bdtr(self) -> Reg<Bdtr1chCmp, RW>
break and dead-time register
Trait Implementations§
impl Copy for Tim1chCmp
impl Eq for Tim1chCmp
impl Send for Tim1chCmp
impl StructuralPartialEq for Tim1chCmp
impl Sync for Tim1chCmp
Auto Trait Implementations§
impl Freeze for Tim1chCmp
impl RefUnwindSafe for Tim1chCmp
impl Unpin for Tim1chCmp
impl UnwindSafe for Tim1chCmp
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
)