Struct gd32f1::gd32f190::timer0::chctl2::CH3EN_W [−][src]
pub struct CH3EN_W<'a> { /* fields omitted */ }
Field CH3EN
writer - Channel 3 enable
Implementations
impl<'a> CH3EN_W<'a>
[src]
impl<'a> CH3EN_W<'a>
[src]pub fn variant(self, variant: CH3EN_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
Channel output is disabled
pub fn enabled(self) -> &'a mut W
[src]
Channel output is 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