Struct stm32f2::stm32f215::otg_hs_global::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub otg_hs_gotgctl: OTG_HS_GOTGCTL,
    pub otg_hs_gotgint: OTG_HS_GOTGINT,
    pub otg_hs_gahbcfg: OTG_HS_GAHBCFG,
    pub otg_hs_gusbcfg: OTG_HS_GUSBCFG,
    pub otg_hs_grstctl: OTG_HS_GRSTCTL,
    pub otg_hs_gintsts: OTG_HS_GINTSTS,
    pub otg_hs_gintmsk: OTG_HS_GINTMSK,
    pub otg_hs_grxfsiz: OTG_HS_GRXFSIZ,
    pub otg_hs_gnptxsts: OTG_HS_GNPTXSTS,
    pub otg_hs_gccfg: OTG_HS_GCCFG,
    pub otg_hs_cid: OTG_HS_CID,
    pub otg_hs_hptxfsiz: OTG_HS_HPTXFSIZ,
    pub otg_hs_dieptxf1: OTG_HS_DIEPTXF1,
    pub otg_hs_dieptxf2: OTG_HS_DIEPTXF2,
    pub otg_hs_dieptxf3: OTG_HS_DIEPTXF3,
    pub otg_hs_dieptxf4: OTG_HS_DIEPTXF4,
    pub otg_hs_dieptxf5: OTG_HS_DIEPTXF5,
    pub otg_hs_dieptxf6: OTG_HS_DIEPTXF6,
    pub otg_hs_dieptxf7: OTG_HS_DIEPTXF7,
    // some fields omitted
}

Register block

Fields

otg_hs_gotgctl: OTG_HS_GOTGCTL

0x00 - OTG_HS control and status register

otg_hs_gotgint: OTG_HS_GOTGINT

0x04 - OTG_HS interrupt register

otg_hs_gahbcfg: OTG_HS_GAHBCFG

0x08 - OTG_HS AHB configuration register

otg_hs_gusbcfg: OTG_HS_GUSBCFG

0x0c - OTG_HS USB configuration register

otg_hs_grstctl: OTG_HS_GRSTCTL

0x10 - OTG_HS reset register

otg_hs_gintsts: OTG_HS_GINTSTS

0x14 - OTG_HS core interrupt register

otg_hs_gintmsk: OTG_HS_GINTMSK

0x18 - OTG_HS interrupt mask register

otg_hs_grxfsiz: OTG_HS_GRXFSIZ

0x24 - OTG_HS Receive FIFO size register

otg_hs_gnptxsts: OTG_HS_GNPTXSTS

0x2c - OTG_HS nonperiodic transmit FIFO/queue status register

otg_hs_gccfg: OTG_HS_GCCFG

0x38 - OTG_HS general core configuration register

otg_hs_cid: OTG_HS_CID

0x3c - OTG_HS core ID register

otg_hs_hptxfsiz: OTG_HS_HPTXFSIZ

0x100 - OTG_HS Host periodic transmit FIFO size register

otg_hs_dieptxf1: OTG_HS_DIEPTXF1

0x104 - OTG_HS device IN endpoint transmit FIFO size register

otg_hs_dieptxf2: OTG_HS_DIEPTXF2

0x108 - OTG_HS device IN endpoint transmit FIFO size register

otg_hs_dieptxf3: OTG_HS_DIEPTXF3

0x11c - OTG_HS device IN endpoint transmit FIFO size register

otg_hs_dieptxf4: OTG_HS_DIEPTXF4

0x120 - OTG_HS device IN endpoint transmit FIFO size register

otg_hs_dieptxf5: OTG_HS_DIEPTXF5

0x124 - OTG_HS device IN endpoint transmit FIFO size register

otg_hs_dieptxf6: OTG_HS_DIEPTXF6

0x128 - OTG_HS device IN endpoint transmit FIFO size register

otg_hs_dieptxf7: OTG_HS_DIEPTXF7

0x12c - OTG_HS device IN endpoint transmit FIFO size register

Implementations

impl RegisterBlock[src]

pub fn otg_hs_grxstsr_peripheral(&self) -> &OTG_HS_GRXSTSR_PERIPHERAL[src]

0x1c - OTG_HS Receive status debug read register (peripheral mode mode)

pub fn otg_hs_grxstsr_peripheral_mut(&self) -> &mut OTG_HS_GRXSTSR_PERIPHERAL[src]

0x1c - OTG_HS Receive status debug read register (peripheral mode mode)

pub fn otg_hs_grxstsr_host(&self) -> &OTG_HS_GRXSTSR_HOST[src]

0x1c - OTG_HS Receive status debug read register (host mode)

pub fn otg_hs_grxstsr_host_mut(&self) -> &mut OTG_HS_GRXSTSR_HOST[src]

0x1c - OTG_HS Receive status debug read register (host mode)

pub fn otg_hs_grxstsp_peripheral(&self) -> &OTG_HS_GRXSTSP_PERIPHERAL[src]

0x20 - OTG_HS status read and pop register (peripheral mode)

pub fn otg_hs_grxstsp_peripheral_mut(&self) -> &mut OTG_HS_GRXSTSP_PERIPHERAL[src]

0x20 - OTG_HS status read and pop register (peripheral mode)

pub fn otg_hs_grxstsp_host(&self) -> &OTG_HS_GRXSTSP_HOST[src]

0x20 - OTG_HS status read and pop register (host mode)

pub fn otg_hs_grxstsp_host_mut(&self) -> &mut OTG_HS_GRXSTSP_HOST[src]

0x20 - OTG_HS status read and pop register (host mode)

pub fn otg_hs_tx0fsiz_peripheral(&self) -> &OTG_HS_TX0FSIZ_PERIPHERAL[src]

0x28 - Endpoint 0 transmit FIFO size (peripheral mode)

pub fn otg_hs_tx0fsiz_peripheral_mut(&self) -> &mut OTG_HS_TX0FSIZ_PERIPHERAL[src]

0x28 - Endpoint 0 transmit FIFO size (peripheral mode)

pub fn otg_hs_gnptxfsiz_host(&self) -> &OTG_HS_GNPTXFSIZ_HOST[src]

0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)

pub fn otg_hs_gnptxfsiz_host_mut(&self) -> &mut OTG_HS_GNPTXFSIZ_HOST[src]

0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)

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.