Struct gd32f1::gd32f190::gpiof::omode::OM4_W [−][src]
pub struct OM4_W<'a> { /* fields omitted */ }
Field OM4
writer - Pin 4 output mode
Implementations
impl<'a> OM4_W<'a>
[src]
impl<'a> OM4_W<'a>
[src]pub fn variant(self, variant: OM4_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn push_pull(self) -> &'a mut W
[src]
Output push-pull (reset state)
pub fn open_drain(self) -> &'a mut W
[src]
Output open-drain
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