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
impl Copy for CcmrInput1ch
impl Eq for CcmrInput1ch
impl StructuralPartialEq for CcmrInput1ch
Auto Trait Implementations§
impl Freeze for CcmrInput1ch
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
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
)