Struct gd32f1::gd32f170::gpiof::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub ctl: CTL,
    pub omode: OMODE,
    pub ospd: OSPD,
    pub pud: PUD,
    pub istat: ISTAT,
    pub octl: OCTL,
    pub bop: BOP,
    pub bc: BC,
    pub tg: TG,
    // some fields omitted
}

Register block

Fields

ctl: CTL

0x00 - GPIOF port control register

omode: OMODE

0x04 - GPIO port output type register

ospd: OSPD

0x08 - GPIO port output speed register

pud: PUD

0x0c - GPIO port pull-up/pull-down register

istat: ISTAT

0x10 - GPIO port input data register

octl: OCTL

0x14 - GPIO port output data register

bop: BOP

0x18 - GPIO port bit set/reset register

bc: BC

0x28 - Port bit reset register

tg: TG

0x2c - Port bit toggle register

Auto Trait Implementations

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.