Struct gd32f1::gd32f190::gpioc::afsel1::W[][src]

pub struct W(_);

Register AFSEL1 writer

Implementations

impl W[src]

pub fn sel15(&mut self) -> SEL15_W<'_>[src]

Bits 28:31 - Pin 15 alternate function selected

pub fn sel14(&mut self) -> SEL14_W<'_>[src]

Bits 24:27 - Pin 14 alternate function selected

pub fn sel13(&mut self) -> SEL13_W<'_>[src]

Bits 20:23 - Pin 13 alternate function selected

pub fn sel12(&mut self) -> SEL12_W<'_>[src]

Bits 16:19 - Pin 12 alternate function selected

pub fn sel11(&mut self) -> SEL11_W<'_>[src]

Bits 12:15 - Pin 11 alternate function selected

pub fn sel10(&mut self) -> SEL10_W<'_>[src]

Bits 8:11 - Pin 10 alternate function selected

pub fn sel9(&mut self) -> SEL9_W<'_>[src]

Bits 4:7 - Pin 9 alternate function selected

pub fn sel8(&mut self) -> SEL8_W<'_>[src]

Bits 0:3 - Pin 8 alternate function selected

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

Writes raw bits to the register.

Methods from Deref<Target = W<AFSEL1_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<AFSEL1_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<AFSEL1_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.