Struct stm32_metapac::timer::regs::CcmrOutput1ch
#[repr(transparent)]pub struct CcmrOutput1ch(pub u32);
Expand description
capture/compare mode register x (x=1) (output mode)
Tuple Fields§
§0: u32
Implementations§
§impl CcmrOutput1ch
impl CcmrOutput1ch
pub const fn ccs(&self, n: usize) -> CcmrOutputCcs
pub const fn ccs(&self, n: usize) -> CcmrOutputCcs
Capture/Compare y selection
pub fn set_ccs(&mut self, n: usize, val: CcmrOutputCcs)
pub fn set_ccs(&mut self, n: usize, val: CcmrOutputCcs)
Capture/Compare y selection
Trait Implementations§
§impl Clone for CcmrOutput1ch
impl Clone for CcmrOutput1ch
§fn clone(&self) -> CcmrOutput1ch
fn clone(&self) -> CcmrOutput1ch
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 CcmrOutput1ch
impl Default for CcmrOutput1ch
§fn default() -> CcmrOutput1ch
fn default() -> CcmrOutput1ch
Returns the “default value” for a type. Read more
§impl PartialEq for CcmrOutput1ch
impl PartialEq for CcmrOutput1ch
impl Copy for CcmrOutput1ch
impl Eq for CcmrOutput1ch
impl StructuralPartialEq for CcmrOutput1ch
Auto Trait Implementations§
impl Freeze for CcmrOutput1ch
impl RefUnwindSafe for CcmrOutput1ch
impl Send for CcmrOutput1ch
impl Sync for CcmrOutput1ch
impl Unpin for CcmrOutput1ch
impl UnwindSafe for CcmrOutput1ch
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
)