nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Misc0

Struct Misc0 

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

Miscellaneous Register 0

Tuple Fields§

§0: u32

Implementations§

Source§

impl Misc0

Source

pub const fn reftop_pwd(&self) -> bool

Control bit to power-down the analog bandgap reference circuitry

Source

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

Control bit to power-down the analog bandgap reference circuitry

Source

pub const fn reftop_selfbiasoff(&self) -> Misc0ReftopSelfbiasoff

Control bit to disable the self-bias circuit in the analog bandgap

Source

pub const fn set_reftop_selfbiasoff(&mut self, val: Misc0ReftopSelfbiasoff)

Control bit to disable the self-bias circuit in the analog bandgap

Source

pub const fn reftop_vbgadj(&self) -> Misc0ReftopVbgadj

Not related to oscillator.

Source

pub const fn set_reftop_vbgadj(&mut self, val: Misc0ReftopVbgadj)

Not related to oscillator.

Source

pub const fn reftop_vbgup(&self) -> bool

Status bit that signals the analog bandgap voltage is up and stable

Source

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

Status bit that signals the analog bandgap voltage is up and stable

Source

pub const fn stop_mode_config(&self) -> Misc0StopModeConfig

Configure the analog behavior in stop mode. Not related to oscillator.

Source

pub const fn set_stop_mode_config(&mut self, val: Misc0StopModeConfig)

Configure the analog behavior in stop mode. Not related to oscillator.

Source

pub const fn discon_high_snvs(&self) -> Misc0DisconHighSnvs

This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN.

Source

pub const fn set_discon_high_snvs(&mut self, val: Misc0DisconHighSnvs)

This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN.

Source

pub const fn osc_i(&self) -> Misc0OscI

This field determines the bias current in the 24MHz oscillator

Source

pub const fn set_osc_i(&mut self, val: Misc0OscI)

This field determines the bias current in the 24MHz oscillator

Source

pub const fn osc_xtalok(&self) -> bool

Status bit that signals that the output of the 24-MHz crystal oscillator is stable

Source

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

Status bit that signals that the output of the 24-MHz crystal oscillator is stable

Source

pub const fn osc_xtalok_en(&self) -> bool

This bit enables the detector that signals when the 24MHz crystal oscillator is stable.

Source

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

This bit enables the detector that signals when the 24MHz crystal oscillator is stable.

Source

pub const fn clkgate_ctrl(&self) -> Misc0ClkgateCtrl

This bit allows disabling the clock gate (always ungated) for the xtal 24MHz clock that clocks the digital logic in the analog block

Source

pub const fn set_clkgate_ctrl(&mut self, val: Misc0ClkgateCtrl)

This bit allows disabling the clock gate (always ungated) for the xtal 24MHz clock that clocks the digital logic in the analog block

Source

pub const fn clkgate_delay(&self) -> Misc0ClkgateDelay

This field specifies the delay between powering up the XTAL 24MHz clock and releasing the clock to the digital logic inside the analog block

Source

pub const fn set_clkgate_delay(&mut self, val: Misc0ClkgateDelay)

This field specifies the delay between powering up the XTAL 24MHz clock and releasing the clock to the digital logic inside the analog block

Source

pub const fn rtc_xtal_source(&self) -> Misc0RtcXtalSource

This field indicates which chip source is being used for the rtc clock.

Source

pub const fn set_rtc_xtal_source(&mut self, val: Misc0RtcXtalSource)

This field indicates which chip source is being used for the rtc clock.

Source

pub const fn xtal_24m_pwd(&self) -> bool

This field powers down the 24M crystal oscillator if set true.

Source

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

This field powers down the 24M crystal oscillator if set true.

Source

pub const fn vid_pll_prediv(&self) -> Misc0VidPllPrediv

Predivider for the source clock of the PLL’s. Not related to oscillator.

Source

pub const fn set_vid_pll_prediv(&mut self, val: Misc0VidPllPrediv)

Predivider for the source clock of the PLL’s. Not related to oscillator.

Trait Implementations§

Source§

impl Clone for Misc0

Source§

fn clone(&self) -> Misc0

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 Misc0

Source§

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

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

impl Default for Misc0

Source§

fn default() -> Misc0

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

impl PartialEq for Misc0

Source§

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

Source§

impl Eq for Misc0

Source§

impl StructuralPartialEq for Misc0

Auto Trait Implementations§

§

impl Freeze for Misc0

§

impl RefUnwindSafe for Misc0

§

impl Send for Misc0

§

impl Sync for Misc0

§

impl Unpin for Misc0

§

impl UnwindSafe for Misc0

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.