nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Dma0

Struct Dma0 

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

DMA.

Implementations§

Source§

impl Dma0

Source

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

Source

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

Source

pub const fn cr(self) -> Reg<Cr, RW>

Control.

Source

pub const fn es(self) -> Reg<Es, R>

Error Status.

Source

pub const fn erq(self) -> Reg<Erq, RW>

Enable Request.

Source

pub const fn eei(self) -> Reg<Eei, RW>

Enable Error Interrupt.

Source

pub const fn ceei(self) -> Reg<Ceei, RW>

Clear Enable Error Interrupt.

Source

pub const fn seei(self) -> Reg<Seei, RW>

Set Enable Error Interrupt.

Source

pub const fn cerq(self) -> Reg<Cerq, RW>

Clear Enable Request.

Source

pub const fn serq(self) -> Reg<Serq, RW>

Set Enable Request.

Source

pub const fn cdne(self) -> Reg<Cdne, RW>

Clear DONE Status Bit.

Source

pub const fn ssrt(self) -> Reg<Ssrt, RW>

Set START Bit.

Source

pub const fn cerr(self) -> Reg<Cerr, RW>

Clear Error.

Source

pub const fn cint(self) -> Reg<Cint, RW>

Clear Interrupt Request.

Source

pub const fn int(self) -> Reg<Int, RW>

Interrupt Request.

Source

pub const fn err(self) -> Reg<Err, RW>

Error.

Source

pub const fn hrs(self) -> Reg<Hrs, R>

Hardware Request Status.

Source

pub const fn ears(self) -> Reg<Ears, RW>

Enable Asynchronous Request in Stop.

Source

pub const fn dchpri3(self) -> Reg<Dchpri3, RW>

Channel Priority.

Source

pub const fn dchpri2(self) -> Reg<Dchpri2, RW>

Channel Priority.

Source

pub const fn dchpri1(self) -> Reg<Dchpri1, RW>

Channel Priority.

Source

pub const fn dchpri0(self) -> Reg<Dchpri0, RW>

Channel Priority.

Source

pub const fn dchpri7(self) -> Reg<Dchpri7, RW>

Channel Priority.

Source

pub const fn dchpri6(self) -> Reg<Dchpri6, RW>

Channel Priority.

Source

pub const fn dchpri5(self) -> Reg<Dchpri5, RW>

Channel Priority.

Source

pub const fn dchpri4(self) -> Reg<Dchpri4, RW>

Channel Priority.

Source

pub const fn dchpri11(self) -> Reg<Dchpri11, RW>

Channel Priority.

Source

pub const fn dchpri10(self) -> Reg<Dchpri10, RW>

Channel Priority.

Source

pub const fn dchpri9(self) -> Reg<Dchpri9, RW>

Channel Priority.

Source

pub const fn dchpri8(self) -> Reg<Dchpri8, RW>

Channel Priority.

Source

pub const fn dchpri15(self) -> Reg<Dchpri15, RW>

Channel Priority.

Source

pub const fn dchpri14(self) -> Reg<Dchpri14, RW>

Channel Priority.

Source

pub const fn dchpri13(self) -> Reg<Dchpri13, RW>

Channel Priority.

Source

pub const fn dchpri12(self) -> Reg<Dchpri12, RW>

Channel Priority.

Source

pub const fn dchpri19(self) -> Reg<Dchpri19, RW>

Channel Priority.

Source

pub const fn dchpri18(self) -> Reg<Dchpri18, RW>

Channel Priority.

Source

pub const fn dchpri17(self) -> Reg<Dchpri17, RW>

Channel Priority.

Source

pub const fn dchpri16(self) -> Reg<Dchpri16, RW>

Channel Priority.

Source

pub const fn dchpri23(self) -> Reg<Dchpri23, RW>

Channel Priority.

Source

pub const fn dchpri22(self) -> Reg<Dchpri22, RW>

Channel Priority.

Source

pub const fn dchpri21(self) -> Reg<Dchpri21, RW>

Channel Priority.

Source

pub const fn dchpri20(self) -> Reg<Dchpri20, RW>

Channel Priority.

Source

pub const fn dchpri27(self) -> Reg<Dchpri27, RW>

Channel Priority.

Source

pub const fn dchpri26(self) -> Reg<Dchpri26, RW>

Channel Priority.

Source

pub const fn dchpri25(self) -> Reg<Dchpri25, RW>

Channel Priority.

Source

pub const fn dchpri24(self) -> Reg<Dchpri24, RW>

Channel Priority.

Source

pub const fn dchpri31(self) -> Reg<Dchpri31, RW>

Channel Priority.

Source

pub const fn dchpri30(self) -> Reg<Dchpri30, RW>

Channel Priority.

Source

pub const fn dchpri29(self) -> Reg<Dchpri29, RW>

Channel Priority.

Source

pub const fn dchpri28(self) -> Reg<Dchpri28, RW>

Channel Priority.

Source

pub const fn tcd(self, n: usize) -> Tcd

Array of registers: TCD_ATTR, TCD_BITER_ELINKNO, TCD_BITER_ELINKYES, TCD_CITER_ELINKNO, TCD_CITER_ELINKYES, TCD_CSR, TCD_DADDR, TCD_DLASTSGA, TCD_DOFF, TCD_NBYTES_MLNO, TCD_NBYTES_MLOFFNO, TCD_NBYTES_MLOFFYES, TCD_SADDR, TCD_SLAST, TCD_SOFF.

Trait Implementations§

Source§

impl Clone for Dma0

Source§

fn clone(&self) -> Dma0

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 Dma0

Source§

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

Source§

impl Eq for Dma0

Source§

impl Send for Dma0

Source§

impl StructuralPartialEq for Dma0

Source§

impl Sync for Dma0

Auto Trait Implementations§

§

impl Freeze for Dma0

§

impl RefUnwindSafe for Dma0

§

impl Unpin for Dma0

§

impl UnwindSafe for Dma0

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.