nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Dma

Struct Dma 

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

DMA.

Implementations§

Source§

impl Dma

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<Dchpri, RW>

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

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

Channel Priority.

Source

pub const fn dchpri12(self) -> Reg<Dchpri, 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 Dma

Source§

fn clone(&self) -> Dma

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 Dma

Source§

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

Source§

impl Eq for Dma

Source§

impl Send for Dma

Source§

impl StructuralPartialEq for Dma

Source§

impl Sync for Dma

Auto Trait Implementations§

§

impl Freeze for Dma

§

impl RefUnwindSafe for Dma

§

impl Unpin for Dma

§

impl UnwindSafe for Dma

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.