#[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) -> GlitchDetectScCntSelect
pub const fn cnt_select(&self) -> GlitchDetectScCntSelect
Counter Select
Sourcepub const fn set_cnt_select(&mut self, val: GlitchDetectScCntSelect)
pub const fn set_cnt_select(&mut self, val: GlitchDetectScCntSelect)
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
Sourcepub const fn high_gain_mode(&self) -> bool
pub const fn high_gain_mode(&self) -> bool
High Gain Mode Enable
Sourcepub const fn set_high_gain_mode(&mut self, val: bool)
pub const fn set_high_gain_mode(&mut self, val: bool)
High Gain Mode Enable
Sourcepub const fn hvdd_amp_disable(&self) -> HvddAmpDisable
pub const fn hvdd_amp_disable(&self) -> HvddAmpDisable
HVDD AMP DISABLE
Sourcepub const fn set_hvdd_amp_disable(&mut self, val: HvddAmpDisable)
pub const fn set_hvdd_amp_disable(&mut self, val: HvddAmpDisable)
HVDD AMP DISABLE
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