Struct stm32_metapac::timer::regs::CcmrOutputGp16
#[repr(transparent)]pub struct CcmrOutputGp16(pub u32);
Expand description
capture/compare mode register x (x=1-2) (output mode)
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl CcmrOutputGp16
impl CcmrOutputGp16
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 CcmrOutputGp16
impl Clone for CcmrOutputGp16
ยงfn clone(&self) -> CcmrOutputGp16
fn clone(&self) -> CcmrOutputGp16
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 CcmrOutputGp16
impl Default for CcmrOutputGp16
ยงfn default() -> CcmrOutputGp16
fn default() -> CcmrOutputGp16
Returns the โdefault valueโ for a type. Read more
ยงimpl PartialEq for CcmrOutputGp16
impl PartialEq for CcmrOutputGp16
ยงfn eq(&self, other: &CcmrOutputGp16) -> bool
fn eq(&self, other: &CcmrOutputGp16) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CcmrOutputGp16
impl Eq for CcmrOutputGp16
impl StructuralEq for CcmrOutputGp16
impl StructuralPartialEq for CcmrOutputGp16
Auto Trait Implementationsยง
impl RefUnwindSafe for CcmrOutputGp16
impl Send for CcmrOutputGp16
impl Sync for CcmrOutputGp16
impl Unpin for CcmrOutputGp16
impl UnwindSafe for CcmrOutputGp16
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