nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Pxp

Struct Pxp 

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

PXP v2.0 Register Reference Index

Implementations§

Source§

impl Pxp

Source

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

Source

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

Source

pub const fn ctrl(self) -> Reg<Ctrl, RW>

Control Register 0

Source

pub const fn ctrl_set(self) -> Reg<CtrlSet, RW>

Control Register 0

Source

pub const fn ctrl_clr(self) -> Reg<CtrlClr, RW>

Control Register 0

Source

pub const fn ctrl_tog(self) -> Reg<CtrlTog, RW>

Control Register 0

Source

pub const fn stat(self) -> Reg<Stat, RW>

Status Register

Source

pub const fn stat_set(self) -> Reg<StatSet, RW>

Status Register

Source

pub const fn stat_clr(self) -> Reg<StatClr, RW>

Status Register

Source

pub const fn stat_tog(self) -> Reg<StatTog, RW>

Status Register

Source

pub const fn out_ctrl(self) -> Reg<OutCtrl, RW>

Output Buffer Control Register

Source

pub const fn out_ctrl_set(self) -> Reg<OutCtrlSet, RW>

Output Buffer Control Register

Source

pub const fn out_ctrl_clr(self) -> Reg<OutCtrlClr, RW>

Output Buffer Control Register

Source

pub const fn out_ctrl_tog(self) -> Reg<OutCtrlTog, RW>

Output Buffer Control Register

Source

pub const fn out_buf(self) -> Reg<OutBuf, RW>

Output Frame Buffer Pointer

Source

pub const fn out_buf2(self) -> Reg<OutBuf2, RW>

Output Frame Buffer Pointer #2

Source

pub const fn out_pitch(self) -> Reg<OutPitch, RW>

Output Buffer Pitch

Source

pub const fn out_lrc(self) -> Reg<OutLrc, RW>

Output Surface Lower Right Coordinate

Source

pub const fn out_ps_ulc(self) -> Reg<OutPsUlc, RW>

Processed Surface Upper Left Coordinate

Source

pub const fn out_ps_lrc(self) -> Reg<OutPsLrc, RW>

Processed Surface Lower Right Coordinate

Source

pub const fn out_as_ulc(self) -> Reg<OutAsUlc, RW>

Alpha Surface Upper Left Coordinate

Source

pub const fn out_as_lrc(self) -> Reg<OutAsLrc, RW>

Alpha Surface Lower Right Coordinate

Source

pub const fn ps_ctrl(self) -> Reg<PsCtrl, RW>

Processed Surface (PS) Control Register

Source

pub const fn ps_ctrl_set(self) -> Reg<PsCtrlSet, RW>

Processed Surface (PS) Control Register

Source

pub const fn ps_ctrl_clr(self) -> Reg<PsCtrlClr, RW>

Processed Surface (PS) Control Register

Source

pub const fn ps_ctrl_tog(self) -> Reg<PsCtrlTog, RW>

Processed Surface (PS) Control Register

Source

pub const fn ps_buf(self) -> Reg<PsBuf, RW>

PS Input Buffer Address

Source

pub const fn ps_ubuf(self) -> Reg<PsUbuf, RW>

PS U/Cb or 2 Plane UV Input Buffer Address

Source

pub const fn ps_vbuf(self) -> Reg<PsVbuf, RW>

PS V/Cr Input Buffer Address

Source

pub const fn ps_pitch(self) -> Reg<PsPitch, RW>

Processed Surface Pitch

Source

pub const fn ps_background(self) -> Reg<PsBackground, RW>

PS Background Color

Source

pub const fn ps_scale(self) -> Reg<PsScale, RW>

PS Scale Factor Register

Source

pub const fn ps_offset(self) -> Reg<PsOffset, RW>

PS Scale Offset Register

Source

pub const fn ps_clrkeylow(self) -> Reg<PsClrkeylow, RW>

PS Color Key Low

Source

pub const fn ps_clrkeyhigh(self) -> Reg<PsClrkeyhigh, RW>

PS Color Key High

Source

pub const fn as_ctrl(self) -> Reg<AsCtrl, RW>

Alpha Surface Control

Source

pub const fn as_buf(self) -> Reg<AsBuf, RW>

Alpha Surface Buffer Pointer

Source

pub const fn as_pitch(self) -> Reg<AsPitch, RW>

Alpha Surface Pitch

Source

pub const fn as_clrkeylow(self) -> Reg<AsClrkeylow, RW>

Overlay Color Key Low

Source

pub const fn as_clrkeyhigh(self) -> Reg<AsClrkeyhigh, RW>

Overlay Color Key High

Source

pub const fn csc1_coef0(self) -> Reg<Csc1Coef0, RW>

Color Space Conversion Coefficient Register 0

Source

pub const fn csc1_coef1(self) -> Reg<Csc1Coef1, RW>

Color Space Conversion Coefficient Register 1

Source

pub const fn csc1_coef2(self) -> Reg<Csc1Coef2, RW>

Color Space Conversion Coefficient Register 2

Source

pub const fn power(self) -> Reg<Power, RW>

PXP Power Control Register

Source

pub const fn next(self) -> Reg<Next, RW>

Next Frame Pointer

Source

pub const fn porter_duff_ctrl(self) -> Reg<PorterDuffCtrl, RW>

PXP Alpha Engine A Control Register.

Trait Implementations§

Source§

impl Clone for Pxp

Source§

fn clone(&self) -> Pxp

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 Pxp

Source§

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

Source§

impl Eq for Pxp

Source§

impl Send for Pxp

Source§

impl StructuralPartialEq for Pxp

Source§

impl Sync for Pxp

Auto Trait Implementations§

§

impl Freeze for Pxp

§

impl RefUnwindSafe for Pxp

§

impl Unpin for Pxp

§

impl UnwindSafe for Pxp

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.