#[repr(transparent)]pub struct GlitchDetectSc(pub u32);Expand description
Glitch Detect Status Control
Tuple Fields§
§0: u32Implementations§
Source§impl GlitchDetectSc
impl GlitchDetectSc
Sourcepub const fn cnt_select(&self) -> CntSelect
pub const fn cnt_select(&self) -> CntSelect
Counter Select
Sourcepub const fn set_cnt_select(&mut self, val: CntSelect)
pub const fn set_cnt_select(&mut self, val: CntSelect)
Counter Select
Sourcepub const fn set_timeout(&mut self, val: u8)
pub const fn set_timeout(&mut self, val: u8)
Timeout
Sourcepub const fn glitch_detect_flag(&self) -> u8
pub const fn glitch_detect_flag(&self) -> u8
GLITCH_DETECT_FLAG
Sourcepub const fn set_glitch_detect_flag(&mut self, val: u8)
pub const fn set_glitch_detect_flag(&mut self, val: u8)
GLITCH_DETECT_FLAG
Trait Implementations§
Source§impl Clone for GlitchDetectSc
impl Clone for GlitchDetectSc
Source§fn clone(&self) -> GlitchDetectSc
fn clone(&self) -> GlitchDetectSc
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 GlitchDetectSc
impl Debug for GlitchDetectSc
Source§impl Default for GlitchDetectSc
impl Default for GlitchDetectSc
Source§fn default() -> GlitchDetectSc
fn default() -> GlitchDetectSc
Returns the “default value” for a type. Read more
Source§impl PartialEq for GlitchDetectSc
impl PartialEq for GlitchDetectSc
impl Copy for GlitchDetectSc
impl Eq for GlitchDetectSc
impl StructuralPartialEq for GlitchDetectSc
Auto Trait Implementations§
impl Freeze for GlitchDetectSc
impl RefUnwindSafe for GlitchDetectSc
impl Send for GlitchDetectSc
impl Sync for GlitchDetectSc
impl Unpin for GlitchDetectSc
impl UnwindSafe for GlitchDetectSc
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