Struct gd32f1::gd32f190::gpioa::lock::W[][src]

pub struct W(_);

Register LOCK writer

Implementations

impl W[src]

pub fn lkk(&mut self) -> LKK_W<'_>[src]

Bit 16 - Lock key

pub fn lk15(&mut self) -> LK15_W<'_>[src]

Bit 15 - Port lock bit 15

pub fn lk14(&mut self) -> LK14_W<'_>[src]

Bit 14 - Port lock bit 14

pub fn lk13(&mut self) -> LK13_W<'_>[src]

Bit 13 - Port lock bit 13

pub fn lk12(&mut self) -> LK12_W<'_>[src]

Bit 12 - Port lock bit 12

pub fn lk11(&mut self) -> LK11_W<'_>[src]

Bit 11 - Port lock bit 11

pub fn lk10(&mut self) -> LK10_W<'_>[src]

Bit 10 - Port lock bit 10

pub fn lk9(&mut self) -> LK9_W<'_>[src]

Bit 9 - Port lock bit 9

pub fn lk8(&mut self) -> LK8_W<'_>[src]

Bit 8 - Port lock bit 8

pub fn lk7(&mut self) -> LK7_W<'_>[src]

Bit 7 - Port lock bit 7

pub fn lk6(&mut self) -> LK6_W<'_>[src]

Bit 6 - Port lock bit 6

pub fn lk5(&mut self) -> LK5_W<'_>[src]

Bit 5 - Port lock bit 5

pub fn lk4(&mut self) -> LK4_W<'_>[src]

Bit 4 - Port lock bit 4

pub fn lk3(&mut self) -> LK3_W<'_>[src]

Bit 3 - Port lock bit 3

pub fn lk2(&mut self) -> LK2_W<'_>[src]

Bit 2 - Port lock bit 2

pub fn lk1(&mut self) -> LK1_W<'_>[src]

Bit 1 - Port lock bit 1

pub fn lk0(&mut self) -> LK0_W<'_>[src]

Bit 0 - Port lock bit 0

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<LOCK_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<LOCK_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<LOCK_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.