nxp-pac

Crates

git

Versions

mcxa456

Flavors

PllSicMask

Struct PllSicMask 

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

PLL_SIC SCT command mask. Zero construction default ensures only explicitly selected bits are written. Register-map hardware reset values are not command payload defaults. Source conflict: RM 42.8 (text lines 106616-106618) says SCT aliases always read 0, must be write-only, and cannot exist for read-only primaries; RM 42.7.1 maps writable primary aliases as RW and also lists aliases of read-only status registers. Mapped access is retained; no reliable alias readback is inferred.

Tuple Fields§

§0: u32

Implementations§

Source§

impl PllSicMask

Source

pub const fn misc2_control0(&self) -> bool

Miscellaneous Control. Raw encoding: 0b - Power up PLL; 1b - Power down PLL.

Source

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

Miscellaneous Control. Raw encoding: 0b - Power up PLL; 1b - Power down PLL.

Source

pub const fn pll_en_usb_clks(&self) -> bool

PLL Multi-Phase Clock Outputs Enable. Raw encoding: 0b - Disable; 1b - Enable.

Source

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

PLL Multi-Phase Clock Outputs Enable. Raw encoding: 0b - Disable; 1b - Enable.

Source

pub const fn pll_power(&self) -> bool

USB PLL Powerup Control. Raw encoding: 0b - Power down; 1b - Allow powerup.

Source

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

USB PLL Powerup Control. Raw encoding: 0b - Power down; 1b - Allow powerup.

Source

pub const fn pll_enable(&self) -> bool

PLL Output Clock Enable. Raw encoding: 0b - Disable; 1b - Enable.

Source

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

PLL Output Clock Enable. Raw encoding: 0b - Disable; 1b - Enable.

Source

pub const fn pll_bypass(&self) -> bool

Bypass USB PLL. Raw encoding: 0b - 480 MHz output clock; 1b - Input reference clock.

Source

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

Bypass USB PLL. Raw encoding: 0b - 480 MHz output clock; 1b - Input reference clock.

Source

pub const fn refbias_pwd_sel(&self) -> bool

Reference Bias Power Control. Raw encoding: 0b - PLL_POWER internal state signal; 1b - REFBIAS_PWD.

Source

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

Reference Bias Power Control. Raw encoding: 0b - PLL_POWER internal state signal; 1b - REFBIAS_PWD.

Source

pub const fn refbias_pwd(&self) -> bool

Power Down Reference Bias. Raw encoding: 0b - Enable; 1b - Disable or power down.

Source

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

Power Down Reference Bias. Raw encoding: 0b - Enable; 1b - Disable or power down.

Source

pub const fn pll_reg_enable(&self) -> bool

Enable PLL Regulator. Raw encoding: 0b - Disable; 1b - Enable.

Source

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

Enable PLL Regulator. Raw encoding: 0b - Disable; 1b - Enable.

Source

pub const fn pll_div_sel(&self) -> u8

PLL Divider Value Configuration. Raw encoding: 000b - Configure for a 32 MHz input clock (divide by 15); 001b - Configure for a 30 MHz input clock (divide by 16); 010b - Configure for a 24 MHz input clock (divide by 20); 011b - Reserved, not usable for USB operation (divide by 22); 100b - Configure for a 20 MHz input clock (divide by 24); 101b - Configure for a 19.2 MHz input clock (divide by 25); 110b - Configure for a 16 MHz input clock (divide by 30); 111b - Configure for a 12 MHz input clock (divide by 40).

Source

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

PLL Divider Value Configuration. Raw encoding: 000b - Configure for a 32 MHz input clock (divide by 15); 001b - Configure for a 30 MHz input clock (divide by 16); 010b - Configure for a 24 MHz input clock (divide by 20); 011b - Reserved, not usable for USB operation (divide by 22); 100b - Configure for a 20 MHz input clock (divide by 24); 101b - Configure for a 19.2 MHz input clock (divide by 25); 110b - Configure for a 16 MHz input clock (divide by 30); 111b - Configure for a 12 MHz input clock (divide by 40).

Source

pub const fn pll_prediv(&self) -> bool

PLL Pre-Divider. Raw encoding: 0b - Uses the undivided reference clock for PLL loop; 1b - Divides the reference clock by two for PLL loop.

Source

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

PLL Pre-Divider. Raw encoding: 0b - Uses the undivided reference clock for PLL loop; 1b - Divides the reference clock by two for PLL loop.

Source

pub const fn pll_lock(&self) -> bool

USB PLL Lock Status Indicator. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not locked; 1b - Locked.

Source

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

USB PLL Lock Status Indicator. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not locked; 1b - Locked.

Trait Implementations§

Source§

impl Clone for PllSicMask

Source§

fn clone(&self) -> PllSicMask

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 Debug for PllSicMask

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PllSicMask

Source§

fn default() -> PllSicMask

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

impl PartialEq for PllSicMask

Source§

fn eq(&self, other: &PllSicMask) -> 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 PllSicMask

Source§

impl Eq for PllSicMask

Source§

impl StructuralPartialEq for PllSicMask

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.