#[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 div_select(&self) -> u8
pub const fn div_select(&self) -> u8
Controls the frequency of the ethernet reference clock
Sourcepub const fn set_div_select(&mut self, val: u8)
pub const fn set_div_select(&mut self, val: u8)
Controls the frequency of the ethernet reference clock
Sourcepub const fn enet2_div_select(&self) -> PllEnetTogEnet2DivSelect
pub const fn enet2_div_select(&self) -> PllEnetTogEnet2DivSelect
Controls the frequency of the ENET2 reference clock.
Sourcepub const fn set_enet2_div_select(&mut self, val: PllEnetTogEnet2DivSelect)
pub const fn set_enet2_div_select(&mut self, val: PllEnetTogEnet2DivSelect)
Controls the frequency of the ENET2 reference clock.
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 the PLL providing the ENET reference clock.
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 enet2_ref_en(&self) -> bool
pub const fn enet2_ref_en(&self) -> bool
Enable the PLL providing the ENET2 reference clock
Sourcepub const fn set_enet2_ref_en(&mut self, val: bool)
pub const fn set_enet2_ref_en(&mut self, val: bool)
Enable the PLL providing the ENET2 reference clock
Sourcepub const fn enet_25m_ref_en(&self) -> bool
pub const fn enet_25m_ref_en(&self) -> bool
Enable the PLL providing ENET 25 MHz reference clock
Sourcepub const fn set_enet_25m_ref_en(&mut self, val: bool)
pub const fn set_enet_25m_ref_en(&mut self, val: bool)
Enable the PLL providing ENET 25 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