#[repr(transparent)]pub struct Smcaptctrla(pub u16);Expand description
Capture Control A Register
Tuple Fields§
§0: u16Implementations§
Source§impl Smcaptctrla
impl Smcaptctrla
Sourcepub const fn set_oneshota(&mut self, val: Oneshota)
pub const fn set_oneshota(&mut self, val: Oneshota)
One Shot Mode A
Sourcepub const fn set_inp_sela(&mut self, val: InpSela)
pub const fn set_inp_sela(&mut self, val: InpSela)
Input Select A
Sourcepub const fn edgcnta_en(&self) -> bool
pub const fn edgcnta_en(&self) -> bool
Edge Counter A Enable
Sourcepub const fn set_edgcnta_en(&mut self, val: bool)
pub const fn set_edgcnta_en(&mut self, val: bool)
Edge Counter A Enable
Sourcepub const fn set_ca0cnt(&mut self, val: u8)
pub const fn set_ca0cnt(&mut self, val: u8)
Capture A0 FIFO Word Count
Sourcepub const fn set_ca1cnt(&mut self, val: u8)
pub const fn set_ca1cnt(&mut self, val: u8)
Capture A1 FIFO Word Count
Trait Implementations§
Source§impl Clone for Smcaptctrla
impl Clone for Smcaptctrla
Source§fn clone(&self) -> Smcaptctrla
fn clone(&self) -> Smcaptctrla
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 Smcaptctrla
impl Debug for Smcaptctrla
Source§impl Default for Smcaptctrla
impl Default for Smcaptctrla
Source§fn default() -> Smcaptctrla
fn default() -> Smcaptctrla
Returns the “default value” for a type. Read more
Source§impl PartialEq for Smcaptctrla
impl PartialEq for Smcaptctrla
impl Copy for Smcaptctrla
impl Eq for Smcaptctrla
impl StructuralPartialEq for Smcaptctrla
Auto Trait Implementations§
impl Freeze for Smcaptctrla
impl RefUnwindSafe for Smcaptctrla
impl Send for Smcaptctrla
impl Sync for Smcaptctrla
impl Unpin for Smcaptctrla
impl UnwindSafe for Smcaptctrla
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