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