#[repr(transparent)]pub struct Pgfr(pub u32);Expand description
Pin Glitch Filter.
Tuple Fields§
§0: u32Implementations§
Source§impl Pgfr
impl Pgfr
Sourcepub const fn gfp(&self) -> bool
pub const fn gfp(&self) -> bool
Glitch Filter Prescaler. Raw bit values: false (0) = Freq512Hz: 256 Hz prescaler clock.; true (1) = Freq32Khz: 16.384 kHz clock.
Sourcepub const fn set_gfp(&mut self, val: bool)
pub const fn set_gfp(&mut self, val: bool)
Glitch Filter Prescaler. Raw bit values: false (0) = Freq512Hz: 256 Hz prescaler clock.; true (1) = Freq32Khz: 16.384 kHz clock.
Sourcepub const fn gfe(&self) -> bool
pub const fn gfe(&self) -> bool
Glitch Filter Enable. Raw bit values: false (0) = Bypass: Bypasses.; true (1) = Enable: Enables.
Sourcepub const fn set_gfe(&mut self, val: bool)
pub const fn set_gfe(&mut self, val: bool)
Glitch Filter Enable. Raw bit values: false (0) = Bypass: Bypasses.; true (1) = Enable: Enables.
Trait Implementations§
impl Copy for Pgfr
impl Eq for Pgfr
impl StructuralPartialEq for Pgfr
Auto Trait Implementations§
impl Freeze for Pgfr
impl RefUnwindSafe for Pgfr
impl Send for Pgfr
impl Sync for Pgfr
impl Unpin for Pgfr
impl UnwindSafe for Pgfr
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