nxp-pac

Crates

git

Versions

mcxn236

Flavors

UsbphyAlphaFieldsetUniform

Struct UsbphyAlphaFieldsetUniform 

Source
#[repr(transparent)]
pub struct UsbphyAlphaFieldsetUniform(pub u32);
Expand description

PLL SIC.

Tuple Fields§

§0: u32

Implementations§

Source§

impl UsbphyAlphaFieldsetUniform

Source

pub const fn misc2_control0(&self) -> bool

Miscellaneous Control. Raw bit values: false (0) = PllOnSuspend: Power up PLL.; true (1) = PllOffSuspend: Power down PLL.

Source

pub const fn set_misc2_control0(&mut self, val: bool)

Miscellaneous Control. Raw bit values: false (0) = PllOnSuspend: Power up PLL.; true (1) = PllOffSuspend: Power down PLL.

Source

pub const fn pll_en_usb_clks(&self) -> bool

PLL Multi-Phase Clock Outputs Enable. Raw bit values: false (0) = PllMpDisable: Disable.; true (1) = PllMpEnable: Enable.

Source

pub const fn set_pll_en_usb_clks(&mut self, val: bool)

PLL Multi-Phase Clock Outputs Enable. Raw bit values: false (0) = PllMpDisable: Disable.; true (1) = PllMpEnable: Enable.

Source

pub const fn pll_power(&self) -> bool

USB PLL Powerup Control. Raw bit values: false (0) = PllForcePwd: Power down.; true (1) = PllAllowPowerup: Allow powerup.

Source

pub const fn set_pll_power(&mut self, val: bool)

USB PLL Powerup Control. Raw bit values: false (0) = PllForcePwd: Power down.; true (1) = PllAllowPowerup: Allow powerup.

Source

pub const fn pll_enable(&self) -> bool

PLL Output Clock Enable. Raw bit values: false (0) = PllOutDisable: Disable.; true (1) = PllOutEnable: Enable.

Source

pub const fn set_pll_enable(&mut self, val: bool)

PLL Output Clock Enable. Raw bit values: false (0) = PllOutDisable: Disable.; true (1) = PllOutEnable: Enable.

Source

pub const fn pll_bypass(&self) -> bool

Bypass USB PLL. Raw bit values: false (0) = PllNoBypass: 480 MHz output clock.; true (1) = PllBypass: Input reference clock.

Source

pub const fn set_pll_bypass(&mut self, val: bool)

Bypass USB PLL. Raw bit values: false (0) = PllNoBypass: 480 MHz output clock.; true (1) = PllBypass: Input reference clock.

Source

pub const fn refbias_pwd_sel(&self) -> bool

Reference Bias Power Control. Raw bit values: false (0) = BiasPllpower: PLL_POWER internal state signal.; true (1) = BiasRefbiasPwd: REFBIAS_PWD.

Source

pub const fn set_refbias_pwd_sel(&mut self, val: bool)

Reference Bias Power Control. Raw bit values: false (0) = BiasPllpower: PLL_POWER internal state signal.; true (1) = BiasRefbiasPwd: REFBIAS_PWD.

Source

pub const fn refbias_pwd(&self) -> bool

Power Down Reference Bias. Raw bit values: false (0) = RefbiasEnabled: Enable.; true (1) = RefbiasPwd: Disable or power down.

Source

pub const fn set_refbias_pwd(&mut self, val: bool)

Power Down Reference Bias. Raw bit values: false (0) = RefbiasEnabled: Enable.; true (1) = RefbiasPwd: Disable or power down.

Source

pub const fn pll_reg_enable(&self) -> bool

Enable PLL Regulator. Raw bit values: false (0) = PllRegDisable: Disable.; true (1) = PllRegEnable: Enable.

Source

pub const fn set_pll_reg_enable(&mut self, val: bool)

Enable PLL Regulator. Raw bit values: false (0) = PllRegDisable: Disable.; true (1) = PllRegEnable: Enable.

Source

pub const fn pll_div_sel(&self) -> UsbphyAlphaEnumXrayAlpha

PLL Divider Value Configuration.

Source

pub const fn set_pll_div_sel(&mut self, val: UsbphyAlphaEnumXrayAlpha)

PLL Divider Value Configuration.

Source

pub const fn pll_prediv(&self) -> bool

Predivide selector between /1 or /2 to expand the range of the USB PLL input clock. Raw bit values: false (0) = Prediv1: Use the undivided reference clock for PLL loop.; true (1) = Prediv2: Divide the reference clock by two for PLL loop.

Source

pub const fn set_pll_prediv(&mut self, val: bool)

Predivide selector between /1 or /2 to expand the range of the USB PLL input clock. Raw bit values: false (0) = Prediv1: Use the undivided reference clock for PLL loop.; true (1) = Prediv2: Divide the reference clock by two for PLL loop.

Source

pub const fn pll_lock(&self) -> bool

USB PLL Lock Status Indicator. Raw bit values: false (0) = PllNotLocked: Not locked.; true (1) = PllLocked: Locked.

Source

pub const fn set_pll_lock(&mut self, val: bool)

USB PLL Lock Status Indicator. Raw bit values: false (0) = PllNotLocked: Not locked.; true (1) = PllLocked: Locked.

Trait Implementations§

Source§

impl Clone for UsbphyAlphaFieldsetUniform

Source§

fn clone(&self) -> UsbphyAlphaFieldsetUniform

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for UsbphyAlphaFieldsetUniform

Source§

fn default() -> UsbphyAlphaFieldsetUniform

Returns the “default value” for a type. Read more
Source§

impl PartialEq for UsbphyAlphaFieldsetUniform

Source§

fn eq(&self, other: &UsbphyAlphaFieldsetUniform) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for UsbphyAlphaFieldsetUniform

Source§

impl Eq for UsbphyAlphaFieldsetUniform

Source§

impl StructuralPartialEq for UsbphyAlphaFieldsetUniform

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.