#[repr(transparent)]pub struct Sm0captctrlx(pub u16);Expand description
Capture Control X Register
Tuple Fields§
§0: u16Implementations§
Source§impl Sm0captctrlx
impl Sm0captctrlx
Sourcepub const fn oneshotx(&self) -> Sm0captctrlxOneshotx
pub const fn oneshotx(&self) -> Sm0captctrlxOneshotx
One Shot Mode Aux
Sourcepub const fn set_oneshotx(&mut self, val: Sm0captctrlxOneshotx)
pub const fn set_oneshotx(&mut self, val: Sm0captctrlxOneshotx)
One Shot Mode Aux
Sourcepub const fn edgx0(&self) -> Sm0captctrlxEdgx0
pub const fn edgx0(&self) -> Sm0captctrlxEdgx0
Edge X 0
Sourcepub const fn set_edgx0(&mut self, val: Sm0captctrlxEdgx0)
pub const fn set_edgx0(&mut self, val: Sm0captctrlxEdgx0)
Edge X 0
Sourcepub const fn edgx1(&self) -> Sm0captctrlxEdgx1
pub const fn edgx1(&self) -> Sm0captctrlxEdgx1
Edge X 1
Sourcepub const fn set_edgx1(&mut self, val: Sm0captctrlxEdgx1)
pub const fn set_edgx1(&mut self, val: Sm0captctrlxEdgx1)
Edge X 1
Sourcepub const fn inp_selx(&self) -> Sm0captctrlxInpSelx
pub const fn inp_selx(&self) -> Sm0captctrlxInpSelx
Input Select X
Sourcepub const fn set_inp_selx(&mut self, val: Sm0captctrlxInpSelx)
pub const fn set_inp_selx(&mut self, val: Sm0captctrlxInpSelx)
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 Sm0captctrlx
impl Clone for Sm0captctrlx
Source§fn clone(&self) -> Sm0captctrlx
fn clone(&self) -> Sm0captctrlx
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 Sm0captctrlx
impl Debug for Sm0captctrlx
Source§impl Default for Sm0captctrlx
impl Default for Sm0captctrlx
Source§fn default() -> Sm0captctrlx
fn default() -> Sm0captctrlx
Returns the “default value” for a type. Read more
Source§impl PartialEq for Sm0captctrlx
impl PartialEq for Sm0captctrlx
impl Copy for Sm0captctrlx
impl Eq for Sm0captctrlx
impl StructuralPartialEq for Sm0captctrlx
Auto Trait Implementations§
impl Freeze for Sm0captctrlx
impl RefUnwindSafe for Sm0captctrlx
impl Send for Sm0captctrlx
impl Sync for Sm0captctrlx
impl Unpin for Sm0captctrlx
impl UnwindSafe for Sm0captctrlx
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