#[repr(transparent)]pub struct Sm3captctrla(pub u16);Expand description
Capture Control A Register
Tuple Fields§
§0: u16Implementations§
Source§impl Sm3captctrla
impl Sm3captctrla
Sourcepub const fn oneshota(&self) -> Sm3captctrlaOneshota
pub const fn oneshota(&self) -> Sm3captctrlaOneshota
One Shot Mode A
Sourcepub const fn set_oneshota(&mut self, val: Sm3captctrlaOneshota)
pub const fn set_oneshota(&mut self, val: Sm3captctrlaOneshota)
One Shot Mode A
Sourcepub const fn edga0(&self) -> Sm3captctrlaEdga0
pub const fn edga0(&self) -> Sm3captctrlaEdga0
Edge A 0
Sourcepub const fn set_edga0(&mut self, val: Sm3captctrlaEdga0)
pub const fn set_edga0(&mut self, val: Sm3captctrlaEdga0)
Edge A 0
Sourcepub const fn edga1(&self) -> Sm3captctrlaEdga1
pub const fn edga1(&self) -> Sm3captctrlaEdga1
Edge A 1
Sourcepub const fn set_edga1(&mut self, val: Sm3captctrlaEdga1)
pub const fn set_edga1(&mut self, val: Sm3captctrlaEdga1)
Edge A 1
Sourcepub const fn inp_sela(&self) -> Sm3captctrlaInpSela
pub const fn inp_sela(&self) -> Sm3captctrlaInpSela
Input Select A
Sourcepub const fn set_inp_sela(&mut self, val: Sm3captctrlaInpSela)
pub const fn set_inp_sela(&mut self, val: Sm3captctrlaInpSela)
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 Sm3captctrla
impl Clone for Sm3captctrla
Source§fn clone(&self) -> Sm3captctrla
fn clone(&self) -> Sm3captctrla
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 Sm3captctrla
impl Debug for Sm3captctrla
Source§impl Default for Sm3captctrla
impl Default for Sm3captctrla
Source§fn default() -> Sm3captctrla
fn default() -> Sm3captctrla
Returns the “default value” for a type. Read more
Source§impl PartialEq for Sm3captctrla
impl PartialEq for Sm3captctrla
impl Copy for Sm3captctrla
impl Eq for Sm3captctrla
impl StructuralPartialEq for Sm3captctrla
Auto Trait Implementations§
impl Freeze for Sm3captctrla
impl RefUnwindSafe for Sm3captctrla
impl Send for Sm3captctrla
impl Sync for Sm3captctrla
impl Unpin for Sm3captctrla
impl UnwindSafe for Sm3captctrla
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