#[repr(transparent)]pub struct Pr(pub u32);Expand description
GPT Prescaler Register
Tuple Fields§
§0: u32Implementations§
Source§impl Pr
impl Pr
Sourcepub const fn set_prescaler(&mut self, val: Prescaler)
pub const fn set_prescaler(&mut self, val: Prescaler)
Prescaler bits
Sourcepub const fn prescaler24m(&self) -> Prescaler24m
pub const fn prescaler24m(&self) -> Prescaler24m
Prescaler bits
Sourcepub const fn set_prescaler24m(&mut self, val: Prescaler24m)
pub const fn set_prescaler24m(&mut self, val: Prescaler24m)
Prescaler bits
Trait Implementations§
impl Copy for Pr
impl Eq for Pr
impl StructuralPartialEq for Pr
Auto Trait Implementations§
impl Freeze for Pr
impl RefUnwindSafe for Pr
impl Send for Pr
impl Sync for Pr
impl Unpin for Pr
impl UnwindSafe for Pr
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