#[repr(transparent)]pub struct PllSys(pub u32);Expand description
Analog System PLL Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllSys
impl PllSys
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) -> PllSysBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllSysBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllSysBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllSysBypassClkSrc)
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 PllSys
impl Eq for PllSys
impl StructuralPartialEq for PllSys
Auto Trait Implementations§
impl Freeze for PllSys
impl RefUnwindSafe for PllSys
impl Send for PllSys
impl Sync for PllSys
impl Unpin for PllSys
impl UnwindSafe for PllSys
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