Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 15 fields pub dmsar: DMSAR, pub dmdar: DMDAR, pub dmcra: DMCRA, pub dmcrb: DMCRB, pub dmtmd: DMTMD, pub dmint: DMINT, pub dmamd: DMAMD, pub dmofr: DMOFR, pub dmcnt: DMCNT, pub dmreq: DMREQ, pub dmsts: DMSTS, pub dmsrr: DMSRR, pub dmdrr: DMDRR, pub dmsbs: DMSBS, pub dmdbs: DMDBS, /* private fields */
}
Expand description

Register block

Fields§

§dmsar: DMSAR

0x00 - DMA Source Address Register

§dmdar: DMDAR

0x04 - DMA Destination Address Register

§dmcra: DMCRA

0x08 - DMA Transfer Count Register

§dmcrb: DMCRB

0x0c - DMA Block Transfer Count Register

§dmtmd: DMTMD

0x10 - DMA Transfer Mode Register

§dmint: DMINT

0x13 - DMA Interrupt Setting Register

§dmamd: DMAMD

0x14 - DMA Address Mode Register

§dmofr: DMOFR

0x18 - DMA Offset Register

§dmcnt: DMCNT

0x1c - DMA Transfer Enable Register

§dmreq: DMREQ

0x1d - DMA Software Start Register

§dmsts: DMSTS

0x1e - DMA Status Register

§dmsrr: DMSRR

0x20 - DMA Source Reload Address Register

§dmdrr: DMDRR

0x24 - DMA Destination Reload Address Register

§dmsbs: DMSBS

0x28 - DMA Source Buffer Size Register

§dmdbs: DMDBS

0x2c - DMA Destination Buffer Size Register

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> 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 = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

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.