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