Struct gd32f1::gd32f190::timer0::dmainten::CH0DEN_W [−][src]
pub struct CH0DEN_W<'a> { /* fields omitted */ }
Field CH0DEN
writer - Channel 0 Capture/Compare DMA request enable
Implementations
impl<'a> CH0DEN_W<'a>
[src]
impl<'a> CH0DEN_W<'a>
[src]pub fn variant(self, variant: CH0DEN_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
Capture/compare DMA request disabled
pub fn enabled(self) -> &'a mut W
[src]
Capture/compare DMA request enabled
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field