CH

Struct CH 

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

Channel cluster

Implementations§

Source§

impl CH

Source

pub const fn lbar(&self) -> &LBAR

0x00 - GPDMA channel 0 linked-list base address register

Source

pub const fn fcr(&self) -> &FCR

0x0c - GPDMA channel 0 flag clear register

Source

pub const fn sr(&self) -> &SR

0x10 - GPDMA channel 0 status register

Source

pub const fn cr(&self) -> &CR

0x14 - GPDMA channel 0 control register

Source

pub const fn tr1(&self) -> &TR1

0x40 - GPDMA channel 0 transfer register 1

Source

pub const fn tr2(&self) -> &TR2

0x44 - GPDMA channel 0 transfer register 2

Source

pub const fn br1(&self) -> &BR1

0x48 - GPDMA channel 0 block register 1

Source

pub const fn sar(&self) -> &SAR

0x4c - GPDMA channel 0 source address register

Source

pub const fn dar(&self) -> &DAR

0x50 - GPDMA channel 0 destination address register

Source

pub const fn llr(&self) -> &LLR

0x7c - GPDMA channel 0 linked-list address register

Trait Implementations§

Source§

impl Debug for CH

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Freeze for CH

§

impl !RefUnwindSafe for CH

§

impl Send for CH

§

impl !Sync for CH

§

impl Unpin for CH

§

impl UnwindSafe for CH

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