Type Alias gd32f1::gd32f190::dma::ch3ctl::PwidthR

source ·
pub type PwidthR = FieldReader<Pwidth>;
Expand description

Field PWIDTH reader - Transfer data size of peripheral

Aliased Type§

struct PwidthR { /* private fields */ }

Implementations§

source§

impl PwidthR

source

pub const fn variant(&self) -> Option<Pwidth>

Get enumerated values variant

source

pub fn is_bits8(&self) -> bool

8-bit size

source

pub fn is_bits16(&self) -> bool

16-bit size

source

pub fn is_bits32(&self) -> bool

32-bit size