#[repr(transparent)]pub struct PllAudioClr(pub u32);Expand description
Analog Audio PLL control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllAudioClr
impl PllAudioClr
Sourcepub const fn div_select(&self) -> u8
pub const fn div_select(&self) -> u8
This field controls the PLL loop divider. Valid range for DIV_SELECT divider value: 27~54.
Sourcepub const fn set_div_select(&mut self, val: u8)
pub const fn set_div_select(&mut self, val: u8)
This field controls the PLL loop divider. Valid range for DIV_SELECT divider value: 27~54.
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) -> PllAudioClrBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllAudioClrBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllAudioClrBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllAudioClrBypassClkSrc)
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.
Sourcepub const fn post_div_select(&self) -> PllAudioClrPostDivSelect
pub const fn post_div_select(&self) -> PllAudioClrPostDivSelect
These bits implement a divider after the PLL, but before the enable and bypass mux.
Sourcepub const fn set_post_div_select(&mut self, val: PllAudioClrPostDivSelect)
pub const fn set_post_div_select(&mut self, val: PllAudioClrPostDivSelect)
These bits implement a divider after the PLL, but before the enable and bypass mux.
Trait Implementations§
Source§impl Clone for PllAudioClr
impl Clone for PllAudioClr
Source§fn clone(&self) -> PllAudioClr
fn clone(&self) -> PllAudioClr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PllAudioClr
impl Debug for PllAudioClr
Source§impl Default for PllAudioClr
impl Default for PllAudioClr
Source§fn default() -> PllAudioClr
fn default() -> PllAudioClr
Returns the “default value” for a type. Read more
Source§impl PartialEq for PllAudioClr
impl PartialEq for PllAudioClr
impl Copy for PllAudioClr
impl Eq for PllAudioClr
impl StructuralPartialEq for PllAudioClr
Auto Trait Implementations§
impl Freeze for PllAudioClr
impl RefUnwindSafe for PllAudioClr
impl Send for PllAudioClr
impl Sync for PllAudioClr
impl Unpin for PllAudioClr
impl UnwindSafe for PllAudioClr
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