Struct stm32_metapac::timer::regs::CcmrOutput
#[repr(transparent)]pub struct CcmrOutput(pub u32);
Expand description
capture/compare mode register 2 (output mode)
Tuple Fields§
§0: u32
Implementations§
§impl CcmrOutput
impl CcmrOutput
pub const fn ccs(&self, n: usize) -> CcmrOutputCcs
pub const fn ccs(&self, n: usize) -> CcmrOutputCcs
Capture/Compare 3 selection
pub fn set_ccs(&mut self, n: usize, val: CcmrOutputCcs)
pub fn set_ccs(&mut self, n: usize, val: CcmrOutputCcs)
Capture/Compare 3 selection
Trait Implementations§
§impl Clone for CcmrOutput
impl Clone for CcmrOutput
§fn clone(&self) -> CcmrOutput
fn clone(&self) -> CcmrOutput
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 CcmrOutput
impl Default for CcmrOutput
§fn default() -> CcmrOutput
fn default() -> CcmrOutput
Returns the “default value” for a type. Read more
§impl PartialEq for CcmrOutput
impl PartialEq for CcmrOutput
§fn eq(&self, other: &CcmrOutput) -> bool
fn eq(&self, other: &CcmrOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CcmrOutput
impl Eq for CcmrOutput
impl StructuralEq for CcmrOutput
impl StructuralPartialEq for CcmrOutput
Auto Trait Implementations§
impl RefUnwindSafe for CcmrOutput
impl Send for CcmrOutput
impl Sync for CcmrOutput
impl Unpin for CcmrOutput
impl UnwindSafe for CcmrOutput
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