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