#[repr(transparent)]pub struct PllUsb1Clr(pub u32);Expand description
Analog USB1 480MHz PLL Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl PllUsb1Clr
impl PllUsb1Clr
Sourcepub const fn div_select(&self) -> bool
pub const fn div_select(&self) -> bool
This field controls the PLL loop divider. 0 - Fout=Fref20; 1 - Fout=Fref22.
Sourcepub const fn set_div_select(&mut self, val: bool)
pub const fn set_div_select(&mut self, val: bool)
This field controls the PLL loop divider. 0 - Fout=Fref20; 1 - Fout=Fref22.
Sourcepub const fn en_usb_clks(&self) -> PllUsb1ClrEnUsbClks
pub const fn en_usb_clks(&self) -> PllUsb1ClrEnUsbClks
Powers the 9-phase PLL outputs for USBPHYn
Sourcepub const fn set_en_usb_clks(&mut self, val: PllUsb1ClrEnUsbClks)
pub const fn set_en_usb_clks(&mut self, val: PllUsb1ClrEnUsbClks)
Powers the 9-phase PLL outputs for USBPHYn
Sourcepub const fn power(&self) -> bool
pub const fn power(&self) -> bool
Powers up the PLL. This bit will be set automatically when USBPHY0 remote wakeup event happens.
Sourcepub const fn set_power(&mut self, val: bool)
pub const fn set_power(&mut self, val: bool)
Powers up the PLL. This bit will be set automatically when USBPHY0 remote wakeup event happens.
Sourcepub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
Enable the PLL clock output.
Sourcepub const fn bypass_clk_src(&self) -> PllUsb1ClrBypassClkSrc
pub const fn bypass_clk_src(&self) -> PllUsb1ClrBypassClkSrc
Determines the bypass source.
Sourcepub const fn set_bypass_clk_src(&mut self, val: PllUsb1ClrBypassClkSrc)
pub const fn set_bypass_clk_src(&mut self, val: PllUsb1ClrBypassClkSrc)
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.
Trait Implementations§
Source§impl Clone for PllUsb1Clr
impl Clone for PllUsb1Clr
Source§fn clone(&self) -> PllUsb1Clr
fn clone(&self) -> PllUsb1Clr
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 PllUsb1Clr
impl Debug for PllUsb1Clr
Source§impl Default for PllUsb1Clr
impl Default for PllUsb1Clr
Source§fn default() -> PllUsb1Clr
fn default() -> PllUsb1Clr
Returns the “default value” for a type. Read more
Source§impl PartialEq for PllUsb1Clr
impl PartialEq for PllUsb1Clr
impl Copy for PllUsb1Clr
impl Eq for PllUsb1Clr
impl StructuralPartialEq for PllUsb1Clr
Auto Trait Implementations§
impl Freeze for PllUsb1Clr
impl RefUnwindSafe for PllUsb1Clr
impl Send for PllUsb1Clr
impl Sync for PllUsb1Clr
impl Unpin for PllUsb1Clr
impl UnwindSafe for PllUsb1Clr
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