Type Alias gd32f1::gd32f130::dma::ch5ctl::PwidthW

source ·
pub type PwidthW<'a, REG> = FieldWriter<'a, REG, 2, Pwidth>;
Expand description

Field PWIDTH writer - Transfer data size of peripheral

Aliased Type§

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

Implementations§

source§

impl<'a, REG> PwidthW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

8-bit size

source

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

16-bit size

source

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

32-bit size