Struct Prer
#[repr(transparent)]pub struct Prer(pub u32);
Expand description
Prescaler register
Tuple Fields§
§0: u32
Implementations§
§impl Prer
impl Prer
pub fn set_prediv_s(&mut self, val: u16)
pub fn set_prediv_s(&mut self, val: u16)
Synchronous prescaler factor
pub fn set_prediv_a(&mut self, val: u8)
pub fn set_prediv_a(&mut self, val: u8)
Asynchronous prescaler factor
Trait Implementations§
impl Copy for Prer
impl Eq for Prer
impl StructuralPartialEq for Prer
Auto Trait Implementations§
impl Freeze for Prer
impl RefUnwindSafe for Prer
impl Send for Prer
impl Sync for Prer
impl Unpin for Prer
impl UnwindSafe for Prer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)