[]Struct nucleo_f042k6::stm32::dma1::ch::cr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn en(&self) -> ENR

Bit 0 - Channel enable

pub fn tcie(&self) -> TCIER

Bit 1 - Transfer complete interrupt enable

pub fn htie(&self) -> HTIER

Bit 2 - Half Transfer interrupt enable

pub fn teie(&self) -> TEIER

Bit 3 - Transfer error interrupt enable

pub fn dir(&self) -> DIRR

Bit 4 - Data transfer direction

pub fn circ(&self) -> CIRCR

Bit 5 - Circular mode

pub fn pinc(&self) -> PINCR

Bit 6 - Peripheral increment mode

pub fn minc(&self) -> PINCR

Bit 7 - Memory increment mode

pub fn psize(&self) -> PSIZER

Bits 8:9 - Peripheral size

pub fn msize(&self) -> PSIZER

Bits 10:11 - Memory size

pub fn pl(&self) -> PLR

Bits 12:13 - Channel Priority level

pub fn mem2mem(&self) -> MEM2MEMR

Bit 14 - Memory to memory mode

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

Blanket Implementations

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.

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

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self