nxp-pac

Crates

git

Versions

mimxrt1062

Flavors

Pmu

Struct Pmu 

Source
pub struct Pmu { /* private fields */ }
Expand description

PMU

Implementations§

Source§

impl Pmu

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn reg_1p1(self) -> Reg<Reg1p1, RW>

Regulator 1P1 Register

Source

pub const fn reg_1p1_set(self) -> Reg<Reg1p1Set, RW>

Regulator 1P1 Register

Source

pub const fn reg_1p1_clr(self) -> Reg<Reg1p1Clr, RW>

Regulator 1P1 Register

Source

pub const fn reg_1p1_tog(self) -> Reg<Reg1p1Tog, RW>

Regulator 1P1 Register

Source

pub const fn reg_3p0(self) -> Reg<Reg3p0, RW>

Regulator 3P0 Register

Source

pub const fn reg_3p0_set(self) -> Reg<Reg3p0Set, RW>

Regulator 3P0 Register

Source

pub const fn reg_3p0_clr(self) -> Reg<Reg3p0Clr, RW>

Regulator 3P0 Register

Source

pub const fn reg_3p0_tog(self) -> Reg<Reg3p0Tog, RW>

Regulator 3P0 Register

Source

pub const fn reg_2p5(self) -> Reg<Reg2p5, RW>

Regulator 2P5 Register

Source

pub const fn reg_2p5_set(self) -> Reg<Reg2p5Set, RW>

Regulator 2P5 Register

Source

pub const fn reg_2p5_clr(self) -> Reg<Reg2p5Clr, RW>

Regulator 2P5 Register

Source

pub const fn reg_2p5_tog(self) -> Reg<Reg2p5Tog, RW>

Regulator 2P5 Register

Source

pub const fn reg_core(self) -> Reg<RegCore, RW>

Digital Regulator Core Register

Source

pub const fn reg_core_set(self) -> Reg<RegCoreSet, RW>

Digital Regulator Core Register

Source

pub const fn reg_core_clr(self) -> Reg<RegCoreClr, RW>

Digital Regulator Core Register

Source

pub const fn reg_core_tog(self) -> Reg<RegCoreTog, RW>

Digital Regulator Core Register

Source

pub const fn misc0(self) -> Reg<Misc0, RW>

Miscellaneous Register 0

Source

pub const fn misc0_set(self) -> Reg<Misc0Set, RW>

Miscellaneous Register 0

Source

pub const fn misc0_clr(self) -> Reg<Misc0Clr, RW>

Miscellaneous Register 0

Source

pub const fn misc0_tog(self) -> Reg<Misc0Tog, RW>

Miscellaneous Register 0

Source

pub const fn misc1(self) -> Reg<Misc1, RW>

Miscellaneous Register 1

Source

pub const fn misc1_set(self) -> Reg<Misc1Set, RW>

Miscellaneous Register 1

Source

pub const fn misc1_clr(self) -> Reg<Misc1Clr, RW>

Miscellaneous Register 1

Source

pub const fn misc1_tog(self) -> Reg<Misc1Tog, RW>

Miscellaneous Register 1

Source

pub const fn misc2(self) -> Reg<Misc2, RW>

Miscellaneous Control Register

Source

pub const fn misc2_set(self) -> Reg<Misc2Set, RW>

Miscellaneous Control Register

Source

pub const fn misc2_clr(self) -> Reg<Misc2Clr, RW>

Miscellaneous Control Register

Source

pub const fn misc2_tog(self) -> Reg<Misc2Tog, RW>

Miscellaneous Control Register

Trait Implementations§

Source§

impl Clone for Pmu

Source§

fn clone(&self) -> Pmu

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 PartialEq for Pmu

Source§

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

Source§

impl Eq for Pmu

Source§

impl Send for Pmu

Source§

impl StructuralPartialEq for Pmu

Source§

impl Sync for Pmu

Auto Trait Implementations§

§

impl Freeze for Pmu

§

impl RefUnwindSafe for Pmu

§

impl Unpin for Pmu

§

impl UnwindSafe for Pmu

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.