[]Struct nucleo_f401re::pac::otg_fs_device::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub dcfg: Reg<u32, _DCFG>,
    pub dctl: Reg<u32, _DCTL>,
    pub dsts: Reg<u32, _DSTS>,
    pub diepmsk: Reg<u32, _DIEPMSK>,
    pub doepmsk: Reg<u32, _DOEPMSK>,
    pub daint: Reg<u32, _DAINT>,
    pub daintmsk: Reg<u32, _DAINTMSK>,
    pub dvbusdis: Reg<u32, _DVBUSDIS>,
    pub dvbuspulse: Reg<u32, _DVBUSPULSE>,
    pub diepempmsk: Reg<u32, _DIEPEMPMSK>,
    pub diepctl0: Reg<u32, _DIEPCTL0>,
    pub diepint0: Reg<u32, _DIEPINT0>,
    pub dieptsiz0: Reg<u32, _DIEPTSIZ0>,
    pub dtxfsts0: Reg<u32, _DTXFSTS0>,
    pub diepctl1: Reg<u32, _DIEPCTL>,
    pub diepint1: Reg<u32, _DIEPINT1>,
    pub dieptsiz1: Reg<u32, _DIEPTSIZ1>,
    pub dtxfsts1: Reg<u32, _DTXFSTS1>,
    pub diepctl2: Reg<u32, _DIEPCTL>,
    pub diepint2: Reg<u32, _DIEPINT2>,
    pub dieptsiz2: Reg<u32, _DIEPTSIZ2>,
    pub dtxfsts2: Reg<u32, _DTXFSTS2>,
    pub diepctl3: Reg<u32, _DIEPCTL>,
    pub diepint3: Reg<u32, _DIEPINT3>,
    pub dieptsiz3: Reg<u32, _DIEPTSIZ3>,
    pub dtxfsts3: Reg<u32, _DTXFSTS3>,
    pub doepctl0: Reg<u32, _DOEPCTL0>,
    pub doepint0: Reg<u32, _DOEPINT0>,
    pub doeptsiz0: Reg<u32, _DOEPTSIZ0>,
    pub doepctl1: Reg<u32, _DOEPCTL>,
    pub doepint1: Reg<u32, _DOEPINT1>,
    pub doeptsiz1: Reg<u32, _DOEPTSIZ1>,
    pub doepctl2: Reg<u32, _DOEPCTL>,
    pub doepint2: Reg<u32, _DOEPINT2>,
    pub doeptsiz2: Reg<u32, _DOEPTSIZ2>,
    pub doepctl3: Reg<u32, _DOEPCTL>,
    pub doepint3: Reg<u32, _DOEPINT3>,
    pub doeptsiz3: Reg<u32, _DOEPTSIZ3>,
    // some fields omitted
}

Register block

Fields

dcfg: Reg<u32, _DCFG>

0x00 - OTG_FS device configuration register (OTG_FS_DCFG)

dctl: Reg<u32, _DCTL>

0x04 - OTG_FS device control register (OTG_FS_DCTL)

dsts: Reg<u32, _DSTS>

0x08 - OTG_FS device status register (OTG_FS_DSTS)

diepmsk: Reg<u32, _DIEPMSK>

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

doepmsk: Reg<u32, _DOEPMSK>

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

daint: Reg<u32, _DAINT>

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

daintmsk: Reg<u32, _DAINTMSK>

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

dvbusdis: Reg<u32, _DVBUSDIS>

0x28 - OTG_FS device VBUS discharge time register

dvbuspulse: Reg<u32, _DVBUSPULSE>

0x2c - OTG_FS device VBUS pulsing time register

diepempmsk: Reg<u32, _DIEPEMPMSK>

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

diepctl0: Reg<u32, _DIEPCTL0>

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

diepint0: Reg<u32, _DIEPINT0>

0x108 - device endpoint-x interrupt register

dieptsiz0: Reg<u32, _DIEPTSIZ0>

0x110 - device endpoint-0 transfer size register

dtxfsts0: Reg<u32, _DTXFSTS0>

0x118 - OTG_FS device IN endpoint transmit FIFO status register

diepctl1: Reg<u32, _DIEPCTL>

0x120 - OTG device endpoint-1 control register

diepint1: Reg<u32, _DIEPINT1>

0x128 - device endpoint-1 interrupt register

dieptsiz1: Reg<u32, _DIEPTSIZ1>

0x130 - device endpoint-1 transfer size register

dtxfsts1: Reg<u32, _DTXFSTS1>

0x138 - OTG_FS device IN endpoint transmit FIFO status register

diepctl2: Reg<u32, _DIEPCTL>

0x140 - OTG device endpoint-1 control register

diepint2: Reg<u32, _DIEPINT2>

0x148 - device endpoint-2 interrupt register

dieptsiz2: Reg<u32, _DIEPTSIZ2>

0x150 - device endpoint-2 transfer size register

dtxfsts2: Reg<u32, _DTXFSTS2>

0x158 - OTG_FS device IN endpoint transmit FIFO status register

diepctl3: Reg<u32, _DIEPCTL>

0x160 - OTG device endpoint-1 control register

diepint3: Reg<u32, _DIEPINT3>

0x168 - device endpoint-3 interrupt register

dieptsiz3: Reg<u32, _DIEPTSIZ3>

0x170 - device endpoint-3 transfer size register

dtxfsts3: Reg<u32, _DTXFSTS3>

0x178 - OTG_FS device IN endpoint transmit FIFO status register

doepctl0: Reg<u32, _DOEPCTL0>

0x300 - device endpoint-0 control register

doepint0: Reg<u32, _DOEPINT0>

0x308 - device endpoint-0 interrupt register

doeptsiz0: Reg<u32, _DOEPTSIZ0>

0x310 - device OUT endpoint-0 transfer size register

doepctl1: Reg<u32, _DOEPCTL>

0x320 - device endpoint-1 control register

doepint1: Reg<u32, _DOEPINT1>

0x328 - device endpoint-1 interrupt register

doeptsiz1: Reg<u32, _DOEPTSIZ1>

0x330 - device OUT endpoint-1 transfer size register

doepctl2: Reg<u32, _DOEPCTL>

0x340 - device endpoint-1 control register

doepint2: Reg<u32, _DOEPINT2>

0x348 - device endpoint-2 interrupt register

doeptsiz2: Reg<u32, _DOEPTSIZ2>

0x350 - device OUT endpoint-2 transfer size register

doepctl3: Reg<u32, _DOEPCTL>

0x360 - device endpoint-1 control register

doepint3: Reg<u32, _DOEPINT3>

0x368 - device endpoint-3 interrupt register

doeptsiz3: Reg<u32, _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> 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.