#[repr(transparent)]pub struct PllAudio(pub u32);Expand description
Analog Audio PLL control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllAudio
impl PllAudio
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) -> PllAudioBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllAudioBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllAudioBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllAudioBypassClkSrc)
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) -> PllAudioPostDivSelect
pub const fn post_div_select(&self) -> PllAudioPostDivSelect
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: PllAudioPostDivSelect)
pub const fn set_post_div_select(&mut self, val: PllAudioPostDivSelect)
These bits implement a divider after the PLL, but before the enable and bypass mux.
Trait Implementations§
impl Copy for PllAudio
impl Eq for PllAudio
impl StructuralPartialEq for PllAudio
Auto Trait Implementations§
impl Freeze for PllAudio
impl RefUnwindSafe for PllAudio
impl Send for PllAudio
impl Sync for PllAudio
impl Unpin for PllAudio
impl UnwindSafe for PllAudio
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