Struct stm32_metapac::timer::regs::CcmrInput
#[repr(transparent)]pub struct CcmrInput(pub u32);
Expand description
capture/compare mode register 1 (input mode)
Tuple Fields§
§0: u32
Implementations§
§impl CcmrInput
impl CcmrInput
pub const fn ccs(&self, n: usize) -> CcmrInputCcs
pub const fn ccs(&self, n: usize) -> CcmrInputCcs
Capture/Compare 1 selection
pub fn set_ccs(&mut self, n: usize, val: CcmrInputCcs)
pub fn set_ccs(&mut self, n: usize, val: CcmrInputCcs)
Capture/Compare 1 selection
Trait Implementations§
impl Copy for CcmrInput
impl Eq for CcmrInput
impl StructuralEq for CcmrInput
impl StructuralPartialEq for CcmrInput
Auto Trait Implementations§
impl RefUnwindSafe for CcmrInput
impl Send for CcmrInput
impl Sync for CcmrInput
impl Unpin for CcmrInput
impl UnwindSafe for CcmrInput
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