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