#[repr(transparent)]pub struct Pgfr(pub u32);Expand description
Pin Glitch Filter
Tuple Fields§
§0: u32Implementations§
Source§impl Pgfr
impl Pgfr
Sourcepub const fn gfw(&self) -> u8
pub const fn gfw(&self) -> u8
Filter width: 2*(GFW+1) clock edges,2..128. Do not change while filter enabled.
Sourcepub const fn set_gfw(&mut self, val: u8)
pub const fn set_gfw(&mut self, val: u8)
Filter width: 2*(GFW+1) clock edges,2..128. Do not change while filter enabled.
Sourcepub const fn gfp(&self) -> bool
pub const fn gfp(&self) -> bool
Filter clock. Do not change while filter enabled. Sources are512Hz prescaler and32.768kHz clock. Raw bit values: false (0) = Prescaler; true (1) = Clock
Sourcepub const fn set_gfp(&mut self, val: bool)
pub const fn set_gfp(&mut self, val: bool)
Filter clock. Do not change while filter enabled. Sources are512Hz prescaler and32.768kHz clock. Raw bit values: false (0) = Prescaler; true (1) = Clock
Sourcepub const fn gfe(&self) -> bool
pub const fn gfe(&self) -> bool
Filter enable. Do not change while the corresponding tamper pin is enabled. 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)
Filter enable. Do not change while the corresponding tamper pin is enabled. Raw bit values: false (0) = Bypass: Bypasses; true (1) = Enable: Enables
Sourcepub const fn tpe(&self) -> bool
pub const fn tpe(&self) -> bool
Tamper Pull Enable Raw bit values: false (0) = Disable: Disables; true (1) = Enable: Enables
Sourcepub const fn set_tpe(&mut self, val: bool)
pub const fn set_tpe(&mut self, val: bool)
Tamper Pull Enable Raw bit values: false (0) = Disable: Disables; true (1) = Enable: Enables