Struct gd32f1::gd32f130::timer14::ctl1::DMAS_W [−][src]
pub struct DMAS_W<'a> { /* fields omitted */ }
Field DMAS
writer - DMA request source selection
Implementations
impl<'a> DMAS_W<'a>
[src]
impl<'a> DMAS_W<'a>
[src]pub fn variant(self, variant: DMAS_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn on_compare(self) -> &'a mut W
[src]
CCx DMA request sent when CCx event occurs
pub fn on_update(self) -> &'a mut W
[src]
CCx DMA request sent when update event occurs
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