Type Alias gd32f1::gd32f130::dma::ch2ctl::R

source ·
pub type R = R<Ch2ctlSpec>;
Expand description

Register CH2CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn chen(&self) -> ChenR

Bit 0 - Channel enable

source

pub fn ftfie(&self) -> FtfieR

Bit 1 - Enable bit for full transfer finish interrupt

source

pub fn htfie(&self) -> HtfieR

Bit 2 - Enable bit for half transfer finish interrupt

source

pub fn errie(&self) -> ErrieR

Bit 3 - Enable bit for tranfer access error interrupt

source

pub fn dir(&self) -> DirR

Bit 4 - Transfer mode

source

pub fn cmen(&self) -> CmenR

Bit 5 - Circular mode enable

source

pub fn pnaga(&self) -> PnagaR

Bit 6 - Next address generation algorithm of peripheral

source

pub fn mnaga(&self) -> MnagaR

Bit 7 - Next address generation algorithm of memory

source

pub fn pwidth(&self) -> PwidthR

Bits 8:9 - Transfer data size of peripheral

source

pub fn mwidth(&self) -> MwidthR

Bits 10:11 - Transfer data size of memory

source

pub fn prio(&self) -> PrioR

Bits 12:13 - Priority Level of this channel

source

pub fn m2m(&self) -> M2mR

Bit 14 - Memory to memory mode