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