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
impl Copy for CcmrOutputGp16
impl Eq for CcmrOutputGp16
impl StructuralPartialEq for CcmrOutputGp16
Auto Trait Implementations§
impl Freeze for CcmrOutputGp16
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
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
)