#[repr(transparent)]pub struct PllEnet(pub u32);Expand description
Analog ENET PLL Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllEnet
impl PllEnet
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) -> PllEnetEnet2DivSelect
pub const fn enet2_div_select(&self) -> PllEnetEnet2DivSelect
Controls the frequency of the ENET2 reference clock.
Sourcepub const fn set_enet2_div_select(&mut self, val: PllEnetEnet2DivSelect)
pub const fn set_enet2_div_select(&mut self, val: PllEnetEnet2DivSelect)
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) -> PllEnetBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllEnetBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllEnetBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllEnetBypassClkSrc)
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§
impl Copy for PllEnet
impl Eq for PllEnet
impl StructuralPartialEq for PllEnet
Auto Trait Implementations§
impl Freeze for PllEnet
impl RefUnwindSafe for PllEnet
impl Send for PllEnet
impl Sync for PllEnet
impl Unpin for PllEnet
impl UnwindSafe for PllEnet
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