Struct gd32f1::gd32f130::tsi::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub ctl: CTL,
    pub inten: INTEN,
    pub intc: INTC,
    pub intf: INTF,
    pub phm: PHM,
    pub asw: ASW,
    pub sampcfg: SAMPCFG,
    pub chcfg: CHCFG,
    pub gctl: GCTL,
    pub g0cycn: G0CYCN,
    pub g1cycn: G1CYCN,
    pub g2cycn: G2CYCN,
    pub g3cycn: G3CYCN,
    pub g4cycn: G4CYCN,
    pub g5cycn: G5CYCN,
    // some fields omitted
}

Register block

Fields

ctl: CTL

0x00 - control register

inten: INTEN

0x04 - interrupt enable register

intc: INTC

0x08 - interrupt flag clear register

intf: INTF

0x0c - interrupt flag register

phm: PHM

0x10 - Pin hysteresis mode register

asw: ASW

0x18 - I/O analog switch register

sampcfg: SAMPCFG

0x20 - I/O sample configuration register

chcfg: CHCFG

0x28 - I/O channel configuration register

gctl: GCTL

0x30 - I/O group control register

g0cycn: G0CYCN

0x34 - I/O group x cycle number register

g1cycn: G1CYCN

0x38 - I/O group x cycle number register

g2cycn: G2CYCN

0x3c - I/O group x cycle number register

g3cycn: G3CYCN

0x40 - I/O group x cycle number register

g4cycn: G4CYCN

0x44 - I/O group x cycle number register

g5cycn: G5CYCN

0x48 - I/O group x cycle number 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.