Struct gd32f1::gd32f130::gpiof::octl::OCTL10_W [−][src]
pub struct OCTL10_W<'a> { /* fields omitted */ }
Field OCTL10
writer - Port output data 10
Implementations
impl<'a> OCTL10_W<'a>
[src]
impl<'a> OCTL10_W<'a>
[src]pub fn variant(self, variant: OCTL10_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn low(self) -> &'a mut W
[src]
Set output to logic low
pub fn high(self) -> &'a mut W
[src]
Set output to logic high
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