#[repr(transparent)]pub struct PllAudioSet(pub u32);Expand description
Analog Audio PLL control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllAudioSet
impl PllAudioSet
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) -> PllAudioSetBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllAudioSetBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllAudioSetBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllAudioSetBypassClkSrc)
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) -> PllAudioSetPostDivSelect
pub const fn post_div_select(&self) -> PllAudioSetPostDivSelect
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: PllAudioSetPostDivSelect)
pub const fn set_post_div_select(&mut self, val: PllAudioSetPostDivSelect)
These bits implement a divider after the PLL, but before the enable and bypass mux.
Trait Implementations§
Source§impl Clone for PllAudioSet
impl Clone for PllAudioSet
Source§fn clone(&self) -> PllAudioSet
fn clone(&self) -> PllAudioSet
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 PllAudioSet
impl Debug for PllAudioSet
Source§impl Default for PllAudioSet
impl Default for PllAudioSet
Source§fn default() -> PllAudioSet
fn default() -> PllAudioSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for PllAudioSet
impl PartialEq for PllAudioSet
impl Copy for PllAudioSet
impl Eq for PllAudioSet
impl StructuralPartialEq for PllAudioSet
Auto Trait Implementations§
impl Freeze for PllAudioSet
impl RefUnwindSafe for PllAudioSet
impl Send for PllAudioSet
impl Sync for PllAudioSet
impl Unpin for PllAudioSet
impl UnwindSafe for PllAudioSet
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