[][src]Struct stm32h7::stm32h743::otg1_hs_device::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub dcfg: DCFG,
    pub dctl: DCTL,
    pub dsts: DSTS,
    pub diepmsk: DIEPMSK,
    pub doepmsk: DOEPMSK,
    pub daint: DAINT,
    pub daintmsk: DAINTMSK,
    pub dvbusdis: DVBUSDIS,
    pub dvbuspulse: DVBUSPULSE,
    pub dthrctl: DTHRCTL,
    pub diepempmsk: DIEPEMPMSK,
    pub deachint: DEACHINT,
    pub deachintmsk: DEACHINTMSK,
    pub diepctl0: DIEPCTL0,
    pub diepint0: DIEPINT0,
    pub dieptsiz0: DIEPTSIZ0,
    pub diepdma1: DIEPDMA1,
    pub dtxfsts0: DTXFSTS0,
    pub diepctl1: DIEPCTL1,
    pub diepint1: DIEPINT1,
    pub dieptsiz1: DIEPTSIZ1,
    pub diepdma2: DIEPDMA2,
    pub dtxfsts1: DTXFSTS1,
    pub diepctl2: DIEPCTL2,
    pub diepint2: DIEPINT2,
    pub dieptsiz2: DIEPTSIZ2,
    pub diepdma3: DIEPDMA3,
    pub dtxfsts2: DTXFSTS2,
    pub diepctl3: DIEPCTL3,
    pub diepint3: DIEPINT3,
    pub dieptsiz3: DIEPTSIZ3,
    pub diepdma4: DIEPDMA4,
    pub dtxfsts3: DTXFSTS3,
    pub diepctl4: DIEPCTL4,
    pub diepint4: DIEPINT4,
    pub dieptsiz4: DIEPTSIZ4,
    pub diepdma5: DIEPDMA5,
    pub dtxfsts4: DTXFSTS4,
    pub dtxfsts6: DTXFSTS6,
    pub dtxfsts7: DTXFSTS7,
    pub dieptsiz5: DIEPTSIZ5,
    pub dtxfsts5: DTXFSTS5,
    pub diepctl6: DIEPCTL6,
    pub diepint6: DIEPINT6,
    pub diepctl7: DIEPCTL7,
    pub diepint7: DIEPINT7,
    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,
    pub doepctl4: DOEPCTL4,
    pub doepint4: DOEPINT4,
    pub doeptsiz4: DOEPTSIZ4,
    pub doepctl5: DOEPCTL5,
    pub doepint5: DOEPINT5,
    pub doeptsiz5: DOEPTSIZ5,
    pub doepctl6: DOEPCTL6,
    pub doepint6: DOEPINT6,
    pub doeptsiz6: DOEPTSIZ6,
    pub doepctl7: DOEPCTL7,
    pub doepint7: DOEPINT7,
    pub doeptsiz7: DOEPTSIZ7,
    // some fields omitted
}

Register block

Fields

dcfg: DCFG

0x00 - OTG_HS device configuration register

dctl: DCTL

0x04 - OTG_HS device control register

dsts: DSTS

0x08 - OTG_HS device status register

diepmsk: DIEPMSK

0x10 - OTG_HS device IN endpoint common interrupt mask register

doepmsk: DOEPMSK

0x14 - OTG_HS device OUT endpoint common interrupt mask register

daint: DAINT

0x18 - OTG_HS device all endpoints interrupt register

daintmsk: DAINTMSK

0x1c - OTG_HS all endpoints interrupt mask register

dvbusdis: DVBUSDIS

0x28 - OTG_HS device VBUS discharge time register

dvbuspulse: DVBUSPULSE

0x2c - OTG_HS device VBUS pulsing time register

dthrctl: DTHRCTL

0x30 - OTG_HS Device threshold control register

diepempmsk: DIEPEMPMSK

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

deachint: DEACHINT

0x38 - OTG_HS device each endpoint interrupt register

deachintmsk: DEACHINTMSK

0x3c - OTG_HS device each endpoint interrupt register mask

diepctl0: DIEPCTL0

0x100 - OTG device endpoint-0 control register

diepint0: DIEPINT0

0x108 - OTG device endpoint-0 interrupt register

dieptsiz0: DIEPTSIZ0

0x110 - OTG_HS device IN endpoint 0 transfer size register

diepdma1: DIEPDMA1

0x114 - OTG_HS device endpoint-1 DMA address register

dtxfsts0: DTXFSTS0

0x118 - OTG_HS device IN endpoint transmit FIFO status register

diepctl1: DIEPCTL1

0x120 - OTG device endpoint-1 control register

diepint1: DIEPINT1

0x128 - OTG device endpoint-1 interrupt register

dieptsiz1: DIEPTSIZ1

0x130 - OTG_HS device endpoint transfer size register

diepdma2: DIEPDMA2

0x134 - OTG_HS device endpoint-2 DMA address register

dtxfsts1: DTXFSTS1

0x138 - OTG_HS device IN endpoint transmit FIFO status register

diepctl2: DIEPCTL2

0x140 - OTG device endpoint-2 control register

diepint2: DIEPINT2

0x148 - OTG device endpoint-2 interrupt register

dieptsiz2: DIEPTSIZ2

0x150 - OTG_HS device endpoint transfer size register

diepdma3: DIEPDMA3

0x154 - OTG_HS device endpoint-3 DMA address register

dtxfsts2: DTXFSTS2

0x158 - OTG_HS device IN endpoint transmit FIFO status register

diepctl3: DIEPCTL3

0x160 - OTG device endpoint-3 control register

diepint3: DIEPINT3

0x168 - OTG device endpoint-3 interrupt register

dieptsiz3: DIEPTSIZ3

0x170 - OTG_HS device endpoint transfer size register

diepdma4: DIEPDMA4

0x174 - OTG_HS device endpoint-4 DMA address register

dtxfsts3: DTXFSTS3

0x178 - OTG_HS device IN endpoint transmit FIFO status register

diepctl4: DIEPCTL4

0x180 - OTG device endpoint-4 control register

diepint4: DIEPINT4

0x188 - OTG device endpoint-4 interrupt register

dieptsiz4: DIEPTSIZ4

0x190 - OTG_HS device endpoint transfer size register

diepdma5: DIEPDMA5

0x194 - OTG_HS device endpoint-5 DMA address register

dtxfsts4: DTXFSTS4

0x198 - OTG_HS device IN endpoint transmit FIFO status register

dtxfsts6: DTXFSTS6

0x1a4 - OTG_HS device IN endpoint transmit FIFO status register

dtxfsts7: DTXFSTS7

0x1ac - OTG_HS device IN endpoint transmit FIFO status register

dieptsiz5: DIEPTSIZ5

0x1b0 - OTG_HS device endpoint transfer size register

dtxfsts5: DTXFSTS5

0x1b8 - OTG_HS device IN endpoint transmit FIFO status register

diepctl6: DIEPCTL6

0x1c0 - OTG device endpoint-6 control register

diepint6: DIEPINT6

0x1c8 - OTG device endpoint-6 interrupt register

diepctl7: DIEPCTL7

0x1e0 - OTG device endpoint-7 control register

diepint7: DIEPINT7

0x1e8 - OTG device endpoint-7 interrupt register

doepctl0: DOEPCTL0

0x300 - OTG_HS device control OUT endpoint 0 control register

doepint0: DOEPINT0

0x308 - OTG_HS device endpoint-0 interrupt register

doeptsiz0: DOEPTSIZ0

0x310 - OTG_HS device endpoint-0 transfer size register

doepctl1: DOEPCTL1

0x320 - OTG device endpoint-1 control register

doepint1: DOEPINT1

0x328 - OTG_HS device endpoint-1 interrupt register

doeptsiz1: DOEPTSIZ1

0x330 - OTG_HS device endpoint-1 transfer size register

doepctl2: DOEPCTL2

0x340 - OTG device endpoint-2 control register

doepint2: DOEPINT2

0x348 - OTG_HS device endpoint-2 interrupt register

doeptsiz2: DOEPTSIZ2

0x350 - OTG_HS device endpoint-2 transfer size register

doepctl3: DOEPCTL3

0x360 - OTG device endpoint-3 control register

doepint3: DOEPINT3

0x368 - OTG_HS device endpoint-3 interrupt register

doeptsiz3: DOEPTSIZ3

0x370 - OTG_HS device endpoint-3 transfer size register

doepctl4: DOEPCTL4

0x380 - OTG device endpoint-4 control register

doepint4: DOEPINT4

0x388 - OTG_HS device endpoint-4 interrupt register

doeptsiz4: DOEPTSIZ4

0x390 - OTG_HS device endpoint-4 transfer size register

doepctl5: DOEPCTL5

0x3a0 - OTG device endpoint-5 control register

doepint5: DOEPINT5

0x3a8 - OTG_HS device endpoint-5 interrupt register

doeptsiz5: DOEPTSIZ5

0x3b0 - OTG_HS device endpoint-5 transfer size register

doepctl6: DOEPCTL6

0x3c0 - OTG device endpoint-6 control register

doepint6: DOEPINT6

0x3c8 - OTG_HS device endpoint-6 interrupt register

doeptsiz6: DOEPTSIZ6

0x3d0 - OTG_HS device endpoint-6 transfer size register

doepctl7: DOEPCTL7

0x3e0 - OTG device endpoint-7 control register

doepint7: DOEPINT7

0x3e8 - OTG_HS device endpoint-7 interrupt register

doeptsiz7: DOEPTSIZ7

0x3f0 - OTG_HS device endpoint-7 transfer size register

Methods

impl RegisterBlock[src]

pub fn dieptsiz6(&self) -> &DIEPTSIZ6[src]

0x1a0 - OTG_HS device endpoint transfer size register

pub fn dieptsiz6_mut(&self) -> &mut DIEPTSIZ6[src]

0x1a0 - OTG_HS device endpoint transfer size register

pub fn diepctl5(&self) -> &DIEPCTL5[src]

0x1a0 - OTG device endpoint-5 control register

pub fn diepctl5_mut(&self) -> &mut DIEPCTL5[src]

0x1a0 - OTG device endpoint-5 control register

pub fn dieptsiz7(&self) -> &DIEPTSIZ7[src]

0x1a8 - OTG_HS device endpoint transfer size register

pub fn dieptsiz7_mut(&self) -> &mut DIEPTSIZ7[src]

0x1a8 - OTG_HS device endpoint transfer size register

pub fn diepint5(&self) -> &DIEPINT5[src]

0x1a8 - OTG device endpoint-5 interrupt register

pub fn diepint5_mut(&self) -> &mut DIEPINT5[src]

0x1a8 - OTG device endpoint-5 interrupt register

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self