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