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