#[repr(C)]
pub struct RegisterBlock {
Show 21 fields pub dmamr: Reg<DMAMR_SPEC>, pub dmasbmr: Reg<DMASBMR_SPEC>, pub dmaisr: Reg<DMAISR_SPEC>, pub dmadsr: Reg<DMADSR_SPEC>, pub dmaccr: Reg<DMACCR_SPEC>, pub dmactx_cr: Reg<DMACTXCR_SPEC>, pub dmacrx_cr: Reg<DMACRXCR_SPEC>, pub dmactx_dlar: Reg<DMACTXDLAR_SPEC>, pub dmacrx_dlar: Reg<DMACRXDLAR_SPEC>, pub dmactx_dtpr: Reg<DMACTXDTPR_SPEC>, pub dmacrx_dtpr: Reg<DMACRXDTPR_SPEC>, pub dmactx_rlr: Reg<DMACTXRLR_SPEC>, pub dmacrx_rlr: Reg<DMACRXRLR_SPEC>, pub dmacier: Reg<DMACIER_SPEC>, pub dmacrx_iwtr: Reg<DMACRXIWTR_SPEC>, pub dmaccatx_dr: Reg<DMACCATXDR_SPEC>, pub dmaccarx_dr: Reg<DMACCARXDR_SPEC>, pub dmaccatx_br: Reg<DMACCATXBR_SPEC>, pub dmaccarx_br: Reg<DMACCARXBR_SPEC>, pub dmacsr: Reg<DMACSR_SPEC>, pub dmacmfcr: Reg<DMACMFCR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

dmamr: Reg<DMAMR_SPEC>

0x00 - DMA mode register

dmasbmr: Reg<DMASBMR_SPEC>

0x04 - System bus mode register

dmaisr: Reg<DMAISR_SPEC>

0x08 - Interrupt status register

dmadsr: Reg<DMADSR_SPEC>

0x0c - Debug status register

dmaccr: Reg<DMACCR_SPEC>

0x100 - Channel control register

dmactx_cr: Reg<DMACTXCR_SPEC>

0x104 - Channel transmit control register

dmacrx_cr: Reg<DMACRXCR_SPEC>

0x108 - Channel receive control register

dmactx_dlar: Reg<DMACTXDLAR_SPEC>

0x114 - Channel Tx descriptor list address register

dmacrx_dlar: Reg<DMACRXDLAR_SPEC>

0x11c - Channel Rx descriptor list address register

dmactx_dtpr: Reg<DMACTXDTPR_SPEC>

0x120 - Channel Tx descriptor tail pointer register

dmacrx_dtpr: Reg<DMACRXDTPR_SPEC>

0x128 - Channel Rx descriptor tail pointer register

dmactx_rlr: Reg<DMACTXRLR_SPEC>

0x12c - Channel Tx descriptor ring length register

dmacrx_rlr: Reg<DMACRXRLR_SPEC>

0x130 - Channel Rx descriptor ring length register

dmacier: Reg<DMACIER_SPEC>

0x134 - Channel interrupt enable register

dmacrx_iwtr: Reg<DMACRXIWTR_SPEC>

0x138 - Channel Rx interrupt watchdog timer register

dmaccatx_dr: Reg<DMACCATXDR_SPEC>

0x144 - Channel current application transmit descriptor register

dmaccarx_dr: Reg<DMACCARXDR_SPEC>

0x14c - Channel current application receive descriptor register

dmaccatx_br: Reg<DMACCATXBR_SPEC>

0x154 - Channel current application transmit buffer register

dmaccarx_br: Reg<DMACCARXBR_SPEC>

0x15c - Channel current application receive buffer register

dmacsr: Reg<DMACSR_SPEC>

0x160 - Channel status register

dmacmfcr: Reg<DMACMFCR_SPEC>

0x16c - Channel missed frame count register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.