Struct gd32f1::gd32f190::gpiob::lock::LK7_W [−][src]
pub struct LK7_W<'a> { /* fields omitted */ }
Field LK7
writer - Port lock bit 7
Implementations
impl<'a> LK7_W<'a>
[src]
impl<'a> LK7_W<'a>
[src]pub fn variant(self, variant: LK7_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn unlocked(self) -> &'a mut W
[src]
Port configuration not locked
pub fn locked(self) -> &'a mut W
[src]
Port configuration locked
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