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