#[repr(transparent)]pub struct PllEnetTog(pub u32);Expand description
Analog ENET PLL Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllEnetTog
impl PllEnetTog
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 bypass_clk_src(&self) -> PllEnetTogBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllEnetTogBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllEnetTogBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllEnetTogBypassClkSrc)
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 enet_500m_ref_en(&self) -> bool
pub const fn enet_500m_ref_en(&self) -> bool
Enable the PLL providing ENET 500 MHz reference clock
Sourcepub const fn set_enet_500m_ref_en(&mut self, val: bool)
pub const fn set_enet_500m_ref_en(&mut self, val: bool)
Enable the PLL providing ENET 500 MHz reference clock
Trait Implementations§
Source§impl Clone for PllEnetTog
impl Clone for PllEnetTog
Source§fn clone(&self) -> PllEnetTog
fn clone(&self) -> PllEnetTog
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 PllEnetTog
impl Debug for PllEnetTog
Source§impl Default for PllEnetTog
impl Default for PllEnetTog
Source§fn default() -> PllEnetTog
fn default() -> PllEnetTog
Returns the “default value” for a type. Read more
Source§impl PartialEq for PllEnetTog
impl PartialEq for PllEnetTog
impl Copy for PllEnetTog
impl Eq for PllEnetTog
impl StructuralPartialEq for PllEnetTog
Auto Trait Implementations§
impl Freeze for PllEnetTog
impl RefUnwindSafe for PllEnetTog
impl Send for PllEnetTog
impl Sync for PllEnetTog
impl Unpin for PllEnetTog
impl UnwindSafe for PllEnetTog
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