#[repr(transparent)]pub struct PllSysClr(pub u32);Expand description
Analog System PLL Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllSysClr
impl PllSysClr
Sourcepub const fn div_select(&self) -> bool
pub const fn div_select(&self) -> bool
This field controls the PLL loop divider. 0 - Fout=Fref20; 1 - Fout=Fref22.
Sourcepub const fn set_div_select(&mut self, val: bool)
pub const fn set_div_select(&mut self, val: bool)
This field controls the PLL loop divider. 0 - Fout=Fref20; 1 - Fout=Fref22.
Sourcepub const fn set_powerdown(&mut self, val: bool)
pub const fn set_powerdown(&mut self, val: bool)
Powers down the PLL.
Sourcepub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
Enable PLL output
Sourcepub const fn bypass_clk_src(&self) -> PllSysClrBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllSysClrBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllSysClrBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllSysClrBypassClkSrc)
Determines the bypass source.
Sourcepub const fn set_bypass(&mut self, val: bool)
pub const fn set_bypass(&mut self, val: bool)
Bypass the PLL.
Trait Implementations§
impl Copy for PllSysClr
impl Eq for PllSysClr
impl StructuralPartialEq for PllSysClr
Auto Trait Implementations§
impl Freeze for PllSysClr
impl RefUnwindSafe for PllSysClr
impl Send for PllSysClr
impl Sync for PllSysClr
impl Unpin for PllSysClr
impl UnwindSafe for PllSysClr
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