[][src]Struct ht32f5xxxx::ht32f52342_52::gpiod::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub gpiod_dircr: GPIOD_DIRCR,
    pub gpiod_iner: GPIOD_INER,
    pub gpiod_pur: GPIOD_PUR,
    pub gpiod_pdr: GPIOD_PDR,
    pub gpiod_odr: GPIOD_ODR,
    pub gpiod_drvr: GPIOD_DRVR,
    pub gpiod_lockr: GPIOD_LOCKR,
    pub gpiod_dinr: GPIOD_DINR,
    pub gpiod_doutr: GPIOD_DOUTR,
    pub gpiod_srr: GPIOD_SRR,
    pub gpiod_rr: GPIOD_RR,
}

Register block

Fields

gpiod_dircr: GPIOD_DIRCR

0x00 - GPIOD_DIRCR

gpiod_iner: GPIOD_INER

0x04 - GPIOD_INER

gpiod_pur: GPIOD_PUR

0x08 - GPIOD_PUR

gpiod_pdr: GPIOD_PDR

0x0c - GPIOD_PDR

gpiod_odr: GPIOD_ODR

0x10 - GPIOD_ODR

gpiod_drvr: GPIOD_DRVR

0x14 - GPIOD_DRVR

gpiod_lockr: GPIOD_LOCKR

0x18 - GPIOD_LOCKR

gpiod_dinr: GPIOD_DINR

0x1c - GPIOD_DINR

gpiod_doutr: GPIOD_DOUTR

0x20 - GPIOD_DOUTR

gpiod_srr: GPIOD_SRR

0x24 - GPIOD_SRR

gpiod_rr: GPIOD_RR

0x28 - GPIOD_RR

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> Same<T> for T

type Output = T

Should always be Self

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.