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