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

pub struct W(_);

Register TG writer

Implementations

impl W[src]

pub fn tg0(&mut self) -> TG0_W<'_>[src]

Bit 0 - Port toggle bit 0

pub fn tg1(&mut self) -> TG1_W<'_>[src]

Bit 1 - Port toggle bit 1

pub fn tg2(&mut self) -> TG2_W<'_>[src]

Bit 2 - Port toggle bit 2

pub fn tg3(&mut self) -> TG3_W<'_>[src]

Bit 3 - Port toggle bit 3

pub fn tg4(&mut self) -> TG4_W<'_>[src]

Bit 4 - Port toggle bit 4

pub fn tg5(&mut self) -> TG5_W<'_>[src]

Bit 5 - Port toggle bit 5

pub fn tg6(&mut self) -> TG6_W<'_>[src]

Bit 6 - Port toggle bit 6

pub fn tg7(&mut self) -> TG7_W<'_>[src]

Bit 7 - Port toggle bit 7

pub fn tg8(&mut self) -> TG8_W<'_>[src]

Bit 8 - Port toggle bit 8

pub fn tg9(&mut self) -> TG9_W<'_>[src]

Bit 9 - Port toggle bit 9

pub fn tg10(&mut self) -> TG10_W<'_>[src]

Bit 10 - Port toggle bit 10

pub fn tg11(&mut self) -> TG11_W<'_>[src]

Bit 11 - Port toggle bit 11

pub fn tg12(&mut self) -> TG12_W<'_>[src]

Bit 12 - Port toggle bit 12

pub fn tg13(&mut self) -> TG13_W<'_>[src]

Bit 13 - Port toggle bit 13

pub fn tg14(&mut self) -> TG14_W<'_>[src]

Bit 14 - Port toggle bit 14

pub fn tg15(&mut self) -> TG15_W<'_>[src]

Bit 15 - Port toggle bit 15

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

Writes raw bits to the register.

Methods from Deref<Target = W<TG_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<TG_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

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