#[repr(transparent)]pub struct Smcaptctrlx(pub u16);Expand description
Capture Control X Register
Tuple Fields§
§0: u16Implementations§
Source§impl Smcaptctrlx
impl Smcaptctrlx
Sourcepub const fn set_oneshotx(&mut self, val: Oneshotx)
pub const fn set_oneshotx(&mut self, val: Oneshotx)
One Shot Mode Aux
Sourcepub const fn set_inp_selx(&mut self, val: InpSelx)
pub const fn set_inp_selx(&mut self, val: InpSelx)
Input Select X
Sourcepub const fn edgcntx_en(&self) -> bool
pub const fn edgcntx_en(&self) -> bool
Edge Counter X Enable
Sourcepub const fn set_edgcntx_en(&mut self, val: bool)
pub const fn set_edgcntx_en(&mut self, val: bool)
Edge Counter X Enable
Sourcepub const fn set_cx0cnt(&mut self, val: u8)
pub const fn set_cx0cnt(&mut self, val: u8)
Capture X0 FIFO Word Count
Sourcepub const fn set_cx1cnt(&mut self, val: u8)
pub const fn set_cx1cnt(&mut self, val: u8)
Capture X1 FIFO Word Count
Trait Implementations§
Source§impl Clone for Smcaptctrlx
impl Clone for Smcaptctrlx
Source§fn clone(&self) -> Smcaptctrlx
fn clone(&self) -> Smcaptctrlx
Returns a duplicate 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 moreSource§impl Debug for Smcaptctrlx
impl Debug for Smcaptctrlx
Source§impl Default for Smcaptctrlx
impl Default for Smcaptctrlx
Source§fn default() -> Smcaptctrlx
fn default() -> Smcaptctrlx
Returns the “default value” for a type. Read more
Source§impl PartialEq for Smcaptctrlx
impl PartialEq for Smcaptctrlx
impl Copy for Smcaptctrlx
impl Eq for Smcaptctrlx
impl StructuralPartialEq for Smcaptctrlx
Auto Trait Implementations§
impl Freeze for Smcaptctrlx
impl RefUnwindSafe for Smcaptctrlx
impl Send for Smcaptctrlx
impl Sync for Smcaptctrlx
impl Unpin for Smcaptctrlx
impl UnwindSafe for Smcaptctrlx
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