Struct stm32_metapac::dsihost::regs::Wrpcr
#[repr(transparent)]pub struct Wrpcr(pub u32);
Expand description
DSI Wrapper regulator and PLL control register.
Tuple Fields§
§0: u32
Implementations§
§impl Wrpcr
impl Wrpcr
pub const fn ndiv(&self) -> u16
pub const fn ndiv(&self) -> u16
PLL loop division factor This field configures the PLL loop division factor. 2: PLL loop divided by 2x2 … 511: PLL loop divided by 511x2.
pub fn set_ndiv(&mut self, val: u16)
pub fn set_ndiv(&mut self, val: u16)
PLL loop division factor This field configures the PLL loop division factor. 2: PLL loop divided by 2x2 … 511: PLL loop divided by 511x2.
pub const fn idf(&self) -> u16
pub const fn idf(&self) -> u16
PLL input division factor This field configures the PLL input division factor. 2: PLL input divided by 2 … 511: PLL input divided by 511.
pub fn set_idf(&mut self, val: u16)
pub fn set_idf(&mut self, val: u16)
PLL input division factor This field configures the PLL input division factor. 2: PLL input divided by 2 … 511: PLL input divided by 511.
Trait Implementations§
impl Copy for Wrpcr
impl Eq for Wrpcr
impl StructuralPartialEq for Wrpcr
Auto Trait Implementations§
impl Freeze for Wrpcr
impl RefUnwindSafe for Wrpcr
impl Send for Wrpcr
impl Sync for Wrpcr
impl Unpin for Wrpcr
impl UnwindSafe for Wrpcr
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
)