#[repr(transparent)]pub struct Psr(pub u32);Expand description
Prescaler and Glitch Filter.
Tuple Fields§
§0: u32Implementations§
Source§impl Psr
impl Psr
Sourcepub const fn pbyp(&self) -> bool
pub const fn pbyp(&self) -> bool
Prescaler and Glitch Filter Bypass. Raw bit values: false (0) = Pbyp0: Prescaler and glitch filter enable.; true (1) = Pbyp1: Prescaler and glitch filter bypass.
Sourcepub const fn set_pbyp(&mut self, val: bool)
pub const fn set_pbyp(&mut self, val: bool)
Prescaler and Glitch Filter Bypass. Raw bit values: false (0) = Pbyp0: Prescaler and glitch filter enable.; true (1) = Pbyp1: Prescaler and glitch filter bypass.
Sourcepub const fn set_prescale(&mut self, val: Prescale)
pub const fn set_prescale(&mut self, val: Prescale)
Prescaler and Glitch Filter Value.
Trait Implementations§
impl Copy for Psr
impl Eq for Psr
impl StructuralPartialEq for Psr
Auto Trait Implementations§
impl Freeze for Psr
impl RefUnwindSafe for Psr
impl Send for Psr
impl Sync for Psr
impl Unpin for Psr
impl UnwindSafe for Psr
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