#[repr(transparent)]pub struct Smcaptctrlb(pub u16);Expand description
Capture Control B Register
Tuple Fields§
§0: u16Implementations§
Source§impl Smcaptctrlb
impl Smcaptctrlb
Sourcepub const fn set_oneshotb(&mut self, val: Oneshotb)
pub const fn set_oneshotb(&mut self, val: Oneshotb)
One Shot Mode B
Sourcepub const fn set_inp_selb(&mut self, val: InpSelb)
pub const fn set_inp_selb(&mut self, val: InpSelb)
Input Select B
Sourcepub const fn edgcntb_en(&self) -> bool
pub const fn edgcntb_en(&self) -> bool
Edge Counter B Enable
Sourcepub const fn set_edgcntb_en(&mut self, val: bool)
pub const fn set_edgcntb_en(&mut self, val: bool)
Edge Counter B Enable
Sourcepub const fn set_cb0cnt(&mut self, val: u8)
pub const fn set_cb0cnt(&mut self, val: u8)
Capture B0 FIFO Word Count
Sourcepub const fn set_cb1cnt(&mut self, val: u8)
pub const fn set_cb1cnt(&mut self, val: u8)
Capture B1 FIFO Word Count
Trait Implementations§
Source§impl Clone for Smcaptctrlb
impl Clone for Smcaptctrlb
Source§fn clone(&self) -> Smcaptctrlb
fn clone(&self) -> Smcaptctrlb
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 Smcaptctrlb
impl Debug for Smcaptctrlb
Source§impl Default for Smcaptctrlb
impl Default for Smcaptctrlb
Source§fn default() -> Smcaptctrlb
fn default() -> Smcaptctrlb
Returns the “default value” for a type. Read more
Source§impl PartialEq for Smcaptctrlb
impl PartialEq for Smcaptctrlb
impl Copy for Smcaptctrlb
impl Eq for Smcaptctrlb
impl StructuralPartialEq for Smcaptctrlb
Auto Trait Implementations§
impl Freeze for Smcaptctrlb
impl RefUnwindSafe for Smcaptctrlb
impl Send for Smcaptctrlb
impl Sync for Smcaptctrlb
impl Unpin for Smcaptctrlb
impl UnwindSafe for Smcaptctrlb
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