Struct stm32_metapac::timer::regs::CcmrOutput2ch
#[repr(transparent)]pub struct CcmrOutput2ch(pub u32);
Expand description
capture/compare mode register x (x=1) (output mode)
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl CcmrOutput2ch
impl CcmrOutput2ch
pub const fn ccs(&self, n: usize) -> CcmrOutputCcs
pub const fn ccs(&self, n: usize) -> CcmrOutputCcs
Capture/Compare y selection
pub fn set_ccs(&mut self, n: usize, val: CcmrOutputCcs)
pub fn set_ccs(&mut self, n: usize, val: CcmrOutputCcs)
Capture/Compare y selection
Trait Implementationsยง
ยงimpl Clone for CcmrOutput2ch
impl Clone for CcmrOutput2ch
ยงfn clone(&self) -> CcmrOutput2ch
fn clone(&self) -> CcmrOutput2ch
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreยงimpl Default for CcmrOutput2ch
impl Default for CcmrOutput2ch
ยงfn default() -> CcmrOutput2ch
fn default() -> CcmrOutput2ch
Returns the โdefault valueโ for a type. Read more
ยงimpl PartialEq for CcmrOutput2ch
impl PartialEq for CcmrOutput2ch
ยงfn eq(&self, other: &CcmrOutput2ch) -> bool
fn eq(&self, other: &CcmrOutput2ch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CcmrOutput2ch
impl Eq for CcmrOutput2ch
impl StructuralEq for CcmrOutput2ch
impl StructuralPartialEq for CcmrOutput2ch
Auto Trait Implementationsยง
impl RefUnwindSafe for CcmrOutput2ch
impl Send for CcmrOutput2ch
impl Sync for CcmrOutput2ch
impl Unpin for CcmrOutput2ch
impl UnwindSafe for CcmrOutput2ch
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