Struct gd32f1x0_hal::pac::dma::ch6ctl0::R[][src]

pub struct R(_);
Expand description

Register CH6CTL0 reader

Implementations

impl R[src]

pub fn chen(&self) -> CHEN_R[src]

Bit 0 - Channel enable

pub fn ftfie(&self) -> FTFIE_R[src]

Bit 1 - Enable bit for full transfer finish interrupt

pub fn htfie(&self) -> HTFIE_R[src]

Bit 2 - Enable bit for full transfer finish interrupt

pub fn taeie(&self) -> TAEIE_R[src]

Bit 3 - Enable bit for tranfer access error interrupt

pub fn dir(&self) -> DIR_R[src]

Bit 4 - Transfer mode

pub fn cmen(&self) -> CMEN_R[src]

Bit 5 - Circular mode enable

pub fn pnaga(&self) -> PNAGA_R[src]

Bit 6 - Next address generation algorithm of peripheral

pub fn mnaga(&self) -> PNAGA_R[src]

Bit 7 - Next address generation algorithm of memory

pub fn pwidth(&self) -> PWIDTH_R[src]

Bits 8:9 - Transfer data size of peripheral

pub fn mwidth(&self) -> PWIDTH_R[src]

Bits 10:11 - Transfer data size of memory

pub fn prio(&self) -> PRIO_R[src]

Bits 12:13 - Priority Level of this channel

pub fn m2m(&self) -> M2M_R[src]

Bit 14 - Memory to memory mode

Methods from Deref<Target = R<CH6CTL0_SPEC>>

pub fn bits(&self) -> <REG as RegisterSpec>::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<CH6CTL0_SPEC>

The resulting type after dereferencing.

pub fn deref(&self) -> &<R as Deref>::Target[src]

Dereferences the value.

impl From<R<CH6CTL0_SPEC>> for R[src]

pub fn from(reader: R<CH6CTL0_SPEC>) -> R[src]

Performs the conversion.

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.