Struct hpm5361_pac::HDMA

source ·
pub struct HDMA { /* private fields */ }
Expand description

HDMA

Implementations§

source§

impl HDMA

source

pub const PTR: *const RegisterBlock = {0xf00c8000 as *const hdma::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn idmisc(&self) -> &IDMISC

0x04 - ID Misc

source

pub fn dmacfg(&self) -> &DMACFG

0x10 - DMAC Configuration Register

source

pub fn dmactrl(&self) -> &DMACTRL

0x14 - DMAC Control Register

source

pub fn ch_abort(&self) -> &CH_ABORT

0x18 - Channel Abort Register

source

pub fn inthalfsts(&self) -> &INTHALFSTS

0x24 - Harlf Complete Interrupt Status

source

pub fn inttcsts(&self) -> &INTTCSTS

0x28 - Trans Complete Interrupt Status Register

source

pub fn intabortsts(&self) -> &INTABORTSTS

0x2c - Abort Interrupt Status Register

source

pub fn interrsts(&self) -> &INTERRSTS

0x30 - Error Interrupt Status Register

source

pub fn ch_en(&self) -> &CH_EN

0x34 - Channel Enable Register

source

pub fn chctrl(&self, n: usize) -> &CHCTRL

0x40..0x3c0 - no description available

source

pub fn chctrl_iter(&self) -> impl Iterator<Item = &CHCTRL>

Iterator for array of: 0x40..0x3c0 - no description available

source

pub fn chctrlch0(&self) -> &CHCTRL

0x40..0x5c - no description available

source

pub fn chctrlch1(&self) -> &CHCTRL

0x60..0x7c - no description available

source

pub fn chctrlch2(&self) -> &CHCTRL

0x80..0x9c - no description available

source

pub fn chctrlch3(&self) -> &CHCTRL

0xa0..0xbc - no description available

source

pub fn chctrlch4(&self) -> &CHCTRL

0xc0..0xdc - no description available

source

pub fn chctrlch5(&self) -> &CHCTRL

0xe0..0xfc - no description available

source

pub fn chctrlch6(&self) -> &CHCTRL

0x100..0x11c - no description available

source

pub fn chctrlch7(&self) -> &CHCTRL

0x120..0x13c - no description available

source

pub fn chctrlch8(&self) -> &CHCTRL

0x140..0x15c - no description available

source

pub fn chctrlch9(&self) -> &CHCTRL

0x160..0x17c - no description available

source

pub fn chctrlch10(&self) -> &CHCTRL

0x180..0x19c - no description available

source

pub fn chctrlch11(&self) -> &CHCTRL

0x1a0..0x1bc - no description available

source

pub fn chctrlch12(&self) -> &CHCTRL

0x1c0..0x1dc - no description available

source

pub fn chctrlch13(&self) -> &CHCTRL

0x1e0..0x1fc - no description available

source

pub fn chctrlch14(&self) -> &CHCTRL

0x200..0x21c - no description available

source

pub fn chctrlch15(&self) -> &CHCTRL

0x220..0x23c - no description available

source

pub fn chctrlch16(&self) -> &CHCTRL

0x240..0x25c - no description available

source

pub fn chctrlch17(&self) -> &CHCTRL

0x260..0x27c - no description available

source

pub fn chctrlch18(&self) -> &CHCTRL

0x280..0x29c - no description available

source

pub fn chctrlch19(&self) -> &CHCTRL

0x2a0..0x2bc - no description available

source

pub fn chctrlch20(&self) -> &CHCTRL

0x2c0..0x2dc - no description available

source

pub fn chctrlch21(&self) -> &CHCTRL

0x2e0..0x2fc - no description available

source

pub fn chctrlch22(&self) -> &CHCTRL

0x300..0x31c - no description available

source

pub fn chctrlch23(&self) -> &CHCTRL

0x320..0x33c - no description available

source

pub fn chctrlch24(&self) -> &CHCTRL

0x340..0x35c - no description available

source

pub fn chctrlch25(&self) -> &CHCTRL

0x360..0x37c - no description available

source

pub fn chctrlch26(&self) -> &CHCTRL

0x380..0x39c - no description available

source

pub fn chctrlch27(&self) -> &CHCTRL

0x3a0..0x3bc - no description available

source

pub fn chctrlch28(&self) -> &CHCTRL

0x3c0..0x3dc - no description available

source

pub fn chctrlch29(&self) -> &CHCTRL

0x3e0..0x3fc - no description available

source

pub fn chctrlch30(&self) -> &CHCTRL

0x400..0x41c - no description available

source

pub fn chctrlch31(&self) -> &CHCTRL

0x420..0x43c - no description available

Trait Implementations§

source§

impl Debug for HDMA

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for HDMA

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for HDMA

Auto Trait Implementations§

§

impl RefUnwindSafe for HDMA

§

impl !Sync for HDMA

§

impl Unpin for HDMA

§

impl UnwindSafe for HDMA

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

§

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

§

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.