nxp-pac

Crates

git

Versions

mimxrt1062

Flavors

Misc0Set

Struct Misc0Set 

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

Miscellaneous Register 0

Tuple Fields§

§0: u32

Implementations§

Source§

impl Misc0Set

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_pwdvbgup(&self) -> bool

Control bit to power down the VBG-up detection circuitry in the analog bandgap.

Source

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

Control bit to power down the VBG-up detection circuitry in the analog bandgap.

Source

pub const fn reftop_lowpower(&self) -> bool

Control bit to enable the low-power mode in the analog bandgap.

Source

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

Control bit to enable the low-power mode in the analog bandgap.

Source

pub const fn reftop_selfbiasoff(&self) -> Misc0SetReftopSelfbiasoff

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

Source

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

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

Source

pub const fn reftop_vbgadj(&self) -> Misc0SetReftopVbgadj

no description available

Source

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

no description available

Source

pub const fn reftop_vbgup(&self) -> bool

Status bit that signals the analog bandgap voltage is up and stable. 1 - Stable.

Source

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

Status bit that signals the analog bandgap voltage is up and stable. 1 - Stable.

Source

pub const fn stop_mode_config(&self) -> Misc0SetStopModeConfig

Configure the analog behavior in stop mode.

Source

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

Configure the analog behavior in stop mode.

Source

pub const fn discon_high_snvs(&self) -> Misc0SetDisconHighSnvs

This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN.

Source

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

This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN.

Source

pub const fn osc_i(&self) -> Misc0SetOscI

This field determines the bias current in the 24MHz oscillator

Source

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

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) -> Misc0SetClkgateCtrl

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: Misc0SetClkgateCtrl)

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) -> Misc0SetClkgateDelay

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: Misc0SetClkgateDelay)

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) -> Misc0SetRtcXtalSource

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

Source

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

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) -> Misc0SetVidPllPrediv

Predivider for the source clock of the PLL’s.

Source

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

Predivider for the source clock of the PLL’s.

Trait Implementations§

Source§

impl Clone for Misc0Set

Source§

fn clone(&self) -> Misc0Set

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 Misc0Set

Source§

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

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

impl Default for Misc0Set

Source§

fn default() -> Misc0Set

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

impl PartialEq for Misc0Set

Source§

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

Source§

impl Eq for Misc0Set

Source§

impl StructuralPartialEq for Misc0Set

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.