nxp-pac

Crates

git

Versions

mcxa537

Flavors

DmaCh0

Struct DmaCh0 

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

no description available

Implementations§

Source§

impl DmaCh0

Source

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

Source

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

Source

pub const fn dma_ch0_control(self) -> Reg<DmaCh0Control, RW>

DMA Channel 0 Control.

Source

pub const fn dma_ch0_tx_control(self) -> Reg<DmaCh0TxControl, RW>

DMA Channel 0 Transmit Control.

Source

pub const fn dma_ch0_rx_control(self) -> Reg<DmaCh0RxControl, RW>

DMA Channel 0 Receive Control.

Source

pub const fn dma_ch0_txdesc_list_address( self, ) -> Reg<DmaCh0TxdescListAddress, RW>

Channel 0 Transmit Descriptor List Address.

Source

pub const fn dma_ch0_rxdesc_list_address( self, ) -> Reg<DmaCh0RxdescListAddress, RW>

Channel 0 Receive Descriptor List Address.

Source

pub const fn dma_ch0_txdesc_tail_pointer( self, ) -> Reg<DmaCh0TxdescTailPointer, RW>

Channel 0 Transmit Descriptor Tail Pointer.

Source

pub const fn dma_ch0_rxdesc_tail_pointer( self, ) -> Reg<DmaCh0RxdescTailPointer, RW>

Channel 0 Receive Descriptor Tail Pointer.

Source

pub const fn dma_ch0_txdesc_ring_length(self) -> Reg<DmaCh0TxdescRingLength, RW>

Channel 0 Transmit Descriptor Ring Length.

Source

pub const fn dma_ch0_rx_control2(self) -> Reg<DmaCh0RxControl2, RW>

Channel 0 Receive Control.

Source

pub const fn dma_ch0_interrupt_enable(self) -> Reg<DmaCh0InterruptEnable, RW>

Channel 0 Interrupt Enable.

Source

pub const fn dma_ch0_rx_interrupt_watchdog_timer( self, ) -> Reg<DmaCh0RxInterruptWatchdogTimer, RW>

Channel 0 Receive Interrupt Watchdog Timer.

Source

pub const fn dma_ch0_current_app_txdesc(self) -> Reg<DmaCh0CurrentAppTxdesc, R>

Channel 0 Current Application Transmit Descriptor.

Source

pub const fn dma_ch0_current_app_rxdesc(self) -> Reg<DmaCh0CurrentAppRxdesc, R>

Channel 0 Current Application Receive Descriptor.

Source

pub const fn dma_ch0_current_app_txbuffer( self, ) -> Reg<DmaCh0CurrentAppTxbuffer, R>

Channel 0 Current Application Transmit Buffer Address.

Source

pub const fn dma_ch0_current_app_rxbuffer( self, ) -> Reg<DmaCh0CurrentAppRxbuffer, R>

Channel 0 Current Application Receive Buffer Address.

Source

pub const fn dma_ch0_status(self) -> Reg<DmaCh0Status, RW>

Channel 0 Status. Interrupt flags are write-one-to-clear; TEB and REB are read-only error masks, not two-state enumerations. Avoid read-modify-write.

Source

pub const fn dma_ch0_miss_frame_cnt(self) -> Reg<DmaCh0MissFrameCnt, R>

Channel 0 Miss Frame Count. Missed-frame counter and overflow flag clear on read.

Source

pub const fn dma_ch0_rx_eri_cnt(self) -> Reg<DmaCh0RxEriCnt, R>

Channel 0 Receive ERI Count.

Trait Implementations§

Source§

impl Clone for DmaCh0

Source§

fn clone(&self) -> DmaCh0

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 DmaCh0

Source§

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

Source§

impl Eq for DmaCh0

Source§

impl Send for DmaCh0

Source§

impl StructuralPartialEq for DmaCh0

Source§

impl Sync for DmaCh0

Auto Trait Implementations§

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.