Type Alias gd32f1::gd32f190::dma::ch4ctl::DirW

source ·
pub type DirW<'a, REG> = BitWriter<'a, REG, Dir>;
Expand description

Field DIR writer - Transfer mode

Aliased Type§

struct DirW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> DirW<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn from_peripheral(self) -> &'a mut W<REG>

Read from peripheral

source

pub fn from_memory(self) -> &'a mut W<REG>

Read from memory