Struct stm32f1::stm32f102::otg_fs_device::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub fs_dcfg: FS_DCFG,
    pub fs_dctl: FS_DCTL,
    pub fs_dsts: FS_DSTS,
    pub fs_diepmsk: FS_DIEPMSK,
    pub fs_doepmsk: FS_DOEPMSK,
    pub fs_daint: FS_DAINT,
    pub fs_daintmsk: FS_DAINTMSK,
    pub dvbusdis: DVBUSDIS,
    pub dvbuspulse: DVBUSPULSE,
    pub diepempmsk: DIEPEMPMSK,
    pub fs_diepctl0: FS_DIEPCTL0,
    pub diepint0: DIEPINT0,
    pub dieptsiz0: DIEPTSIZ0,
    pub dtxfsts0: DTXFSTS0,
    pub diepctl1: DIEPCTL1,
    pub diepint1: DIEPINT1,
    pub dieptsiz1: DIEPTSIZ1,
    pub dtxfsts1: DTXFSTS1,
    pub diepctl2: DIEPCTL2,
    pub diepint2: DIEPINT2,
    pub dieptsiz2: DIEPTSIZ2,
    pub dtxfsts2: DTXFSTS2,
    pub diepctl3: DIEPCTL3,
    pub diepint3: DIEPINT3,
    pub dieptsiz3: DIEPTSIZ3,
    pub dtxfsts3: DTXFSTS3,
    pub doepctl0: DOEPCTL0,
    pub doepint0: DOEPINT0,
    pub doeptsiz0: DOEPTSIZ0,
    pub doepctl1: DOEPCTL1,
    pub doepint1: DOEPINT1,
    pub doeptsiz1: DOEPTSIZ1,
    pub doepctl2: DOEPCTL2,
    pub doepint2: DOEPINT2,
    pub doeptsiz2: DOEPTSIZ2,
    pub doepctl3: DOEPCTL3,
    pub doepint3: DOEPINT3,
    pub doeptsiz3: DOEPTSIZ3,
    // some fields omitted
}

Register block

Fields

fs_dcfg: FS_DCFG

0x00 - OTG_FS device configuration register (OTG_FS_DCFG)

fs_dctl: FS_DCTL

0x04 - OTG_FS device control register (OTG_FS_DCTL)

fs_dsts: FS_DSTS

0x08 - OTG_FS device status register (OTG_FS_DSTS)

fs_diepmsk: FS_DIEPMSK

0x10 - OTG_FS device IN endpoint common interrupt mask register (OTG_FS_DIEPMSK)

fs_doepmsk: FS_DOEPMSK

0x14 - OTG_FS device OUT endpoint common interrupt mask register (OTG_FS_DOEPMSK)

fs_daint: FS_DAINT

0x18 - OTG_FS device all endpoints interrupt register (OTG_FS_DAINT)

fs_daintmsk: FS_DAINTMSK

0x1c - OTG_FS all endpoints interrupt mask register (OTG_FS_DAINTMSK)

dvbusdis: DVBUSDIS

0x28 - OTG_FS device VBUS discharge time register

dvbuspulse: DVBUSPULSE

0x2c - OTG_FS device VBUS pulsing time register

diepempmsk: DIEPEMPMSK

0x34 - OTG_FS device IN endpoint FIFO empty interrupt mask register

fs_diepctl0: FS_DIEPCTL0

0x100 - OTG_FS device control IN endpoint 0 control register (OTG_FS_DIEPCTL0)

diepint0: DIEPINT0

0x108 - device endpoint-x interrupt register

dieptsiz0: DIEPTSIZ0

0x110 - device endpoint-0 transfer size register

dtxfsts0: DTXFSTS0

0x118 - OTG_FS device IN endpoint transmit FIFO status register

diepctl1: DIEPCTL1

0x120 - OTG device endpoint-1 control register

diepint1: DIEPINT1

0x128 - device endpoint-1 interrupt register

dieptsiz1: DIEPTSIZ1

0x130 - device endpoint-1 transfer size register

dtxfsts1: DTXFSTS1

0x138 - OTG_FS device IN endpoint transmit FIFO status register

diepctl2: DIEPCTL2

0x140 - OTG device endpoint-2 control register

diepint2: DIEPINT2

0x148 - device endpoint-2 interrupt register

dieptsiz2: DIEPTSIZ2

0x150 - device endpoint-2 transfer size register

dtxfsts2: DTXFSTS2

0x158 - OTG_FS device IN endpoint transmit FIFO status register

diepctl3: DIEPCTL3

0x160 - OTG device endpoint-3 control register

diepint3: DIEPINT3

0x168 - device endpoint-3 interrupt register

dieptsiz3: DIEPTSIZ3

0x170 - device endpoint-3 transfer size register

dtxfsts3: DTXFSTS3

0x178 - OTG_FS device IN endpoint transmit FIFO status register

doepctl0: DOEPCTL0

0x300 - device endpoint-0 control register

doepint0: DOEPINT0

0x308 - device endpoint-0 interrupt register

doeptsiz0: DOEPTSIZ0

0x310 - device OUT endpoint-0 transfer size register

doepctl1: DOEPCTL1

0x320 - device endpoint-1 control register

doepint1: DOEPINT1

0x328 - device endpoint-1 interrupt register

doeptsiz1: DOEPTSIZ1

0x330 - device OUT endpoint-1 transfer size register

doepctl2: DOEPCTL2

0x340 - device endpoint-2 control register

doepint2: DOEPINT2

0x348 - device endpoint-2 interrupt register

doeptsiz2: DOEPTSIZ2

0x350 - device OUT endpoint-2 transfer size register

doepctl3: DOEPCTL3

0x360 - device endpoint-3 control register

doepint3: DOEPINT3

0x368 - device endpoint-3 interrupt register

doeptsiz3: DOEPTSIZ3

0x370 - device OUT endpoint-3 transfer size 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.