Struct gd32f1::gd32f190::dma::ch1ctl0::PWIDTH_W [−][src]
pub struct PWIDTH_W<'a> { /* fields omitted */ }
Field PWIDTH
writer - Transfer data size of peripheral
Implementations
impl<'a> PWIDTH_W<'a>
[src]
impl<'a> PWIDTH_W<'a>
[src]pub fn variant(self, variant: PWIDTH_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn bits8(self) -> &'a mut W
[src]
8-bit size
pub fn bits16(self) -> &'a mut W
[src]
16-bit size
pub fn bits32(self) -> &'a mut W
[src]
32-bit size
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field