nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Clpcr

Struct Clpcr 

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

CCM Low Power Control Register

Tuple Fields§

§0: u32

Implementations§

Source§

impl Clpcr

Source

pub const fn lpm(&self) -> Lpm

Setting the low power mode that system will enter on next assertion of dsm_request signal.

Source

pub const fn set_lpm(&mut self, val: Lpm)

Setting the low power mode that system will enter on next assertion of dsm_request signal.

Source

pub const fn arm_clk_dis_on_lpm(&self) -> ArmClkDisOnLpm

Define if Arm clocks (arm_clk, soc_mxclk, soc_pclk, soc_dbg_pclk, vl_wrck) will be disabled on wait mode

Source

pub const fn set_arm_clk_dis_on_lpm(&mut self, val: ArmClkDisOnLpm)

Define if Arm clocks (arm_clk, soc_mxclk, soc_pclk, soc_dbg_pclk, vl_wrck) will be disabled on wait mode

Source

pub const fn sbyos(&self) -> Sbyos

Standby clock oscillator bit

Source

pub const fn set_sbyos(&mut self, val: Sbyos)

Standby clock oscillator bit

Source

pub const fn dis_ref_osc(&self) -> DisRefOsc

dis_ref_osc - in run mode, software can manually control closing of external reference oscillator clock, i

Source

pub const fn set_dis_ref_osc(&mut self, val: DisRefOsc)

dis_ref_osc - in run mode, software can manually control closing of external reference oscillator clock, i

Source

pub const fn vstby(&self) -> Vstby

Voltage standby request bit

Source

pub const fn set_vstby(&mut self, val: Vstby)

Voltage standby request bit

Source

pub const fn stby_count(&self) -> StbyCount

Standby counter definition

Source

pub const fn set_stby_count(&mut self, val: StbyCount)

Standby counter definition

Source

pub const fn cosc_pwrdown(&self) -> CoscPwrdown

In run mode, software can manually control powering down of on chip oscillator, i

Source

pub const fn set_cosc_pwrdown(&mut self, val: CoscPwrdown)

In run mode, software can manually control powering down of on chip oscillator, i

Source

pub const fn bypass_lpm_hs1(&self) -> bool

Bypass low power mode handshake. This bit should always be set to 1’b1 by software.

Source

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

Bypass low power mode handshake. This bit should always be set to 1’b1 by software.

Source

pub const fn bypass_lpm_hs0(&self) -> bool

Bypass low power mode handshake. This bit should always be set to 1’b1 by software.

Source

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

Bypass low power mode handshake. This bit should always be set to 1’b1 by software.

Source

pub const fn mask_core0_wfi(&self) -> MaskCore0Wfi

Mask WFI of core0 for entering low power mode Assertion of all bits[27:22] will generate low power mode request

Source

pub const fn set_mask_core0_wfi(&mut self, val: MaskCore0Wfi)

Mask WFI of core0 for entering low power mode Assertion of all bits[27:22] will generate low power mode request

Source

pub const fn mask_scu_idle(&self) -> MaskScuIdle

Mask SCU IDLE for entering low power mode Assertion of all bits[27:22] will generate low power mode request

Source

pub const fn set_mask_scu_idle(&mut self, val: MaskScuIdle)

Mask SCU IDLE for entering low power mode Assertion of all bits[27:22] will generate low power mode request

Source

pub const fn mask_l2cc_idle(&self) -> MaskL2ccIdle

Mask L2CC IDLE for entering low power mode

Source

pub const fn set_mask_l2cc_idle(&mut self, val: MaskL2ccIdle)

Mask L2CC IDLE for entering low power mode

Trait Implementations§

Source§

impl Clone for Clpcr

Source§

fn clone(&self) -> Clpcr

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 Clpcr

Source§

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

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

impl Default for Clpcr

Source§

fn default() -> Clpcr

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

impl PartialEq for Clpcr

Source§

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

Source§

impl Eq for Clpcr

Source§

impl StructuralPartialEq for Clpcr

Auto Trait Implementations§

§

impl Freeze for Clpcr

§

impl RefUnwindSafe for Clpcr

§

impl Send for Clpcr

§

impl Sync for Clpcr

§

impl Unpin for Clpcr

§

impl UnwindSafe for Clpcr

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.