Struct stm32h7xx_hal::pac::otg1_hs_global::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub gotgctl: Reg<u32, _GOTGCTL>,
    pub gotgint: Reg<u32, _GOTGINT>,
    pub gahbcfg: Reg<u32, _GAHBCFG>,
    pub gusbcfg: Reg<u32, _GUSBCFG>,
    pub grstctl: Reg<u32, _GRSTCTL>,
    pub gintsts: Reg<u32, _GINTSTS>,
    pub gintmsk: Reg<u32, _GINTMSK>,
    pub grxfsiz: Reg<u32, _GRXFSIZ>,
    pub gnptxsts: Reg<u32, _GNPTXSTS>,
    pub gccfg: Reg<u32, _GCCFG>,
    pub cid: Reg<u32, _CID>,
    pub glpmcfg: Reg<u32, _GLPMCFG>,
    pub hptxfsiz: Reg<u32, _HPTXFSIZ>,
    pub dieptxf1: Reg<u32, _DIEPTXF1>,
    pub dieptxf2: Reg<u32, _DIEPTXF2>,
    pub dieptxf3: Reg<u32, _DIEPTXF3>,
    pub dieptxf4: Reg<u32, _DIEPTXF4>,
    pub dieptxf5: Reg<u32, _DIEPTXF5>,
    pub dieptxf6: Reg<u32, _DIEPTXF6>,
    pub dieptxf7: Reg<u32, _DIEPTXF7>,
    // some fields omitted
}

Register block

Fields

gotgctl: Reg<u32, _GOTGCTL>

0x00 - OTG_HS control and status register

gotgint: Reg<u32, _GOTGINT>

0x04 - OTG_HS interrupt register

gahbcfg: Reg<u32, _GAHBCFG>

0x08 - OTG_HS AHB configuration register

gusbcfg: Reg<u32, _GUSBCFG>

0x0c - OTG_HS USB configuration register

grstctl: Reg<u32, _GRSTCTL>

0x10 - OTG_HS reset register

gintsts: Reg<u32, _GINTSTS>

0x14 - OTG_HS core interrupt register

gintmsk: Reg<u32, _GINTMSK>

0x18 - OTG_HS interrupt mask register

grxfsiz: Reg<u32, _GRXFSIZ>

0x24 - OTG_HS Receive FIFO size register

gnptxsts: Reg<u32, _GNPTXSTS>

0x2c - OTG_HS nonperiodic transmit FIFO/queue status register

gccfg: Reg<u32, _GCCFG>

0x38 - OTG_HS general core configuration register

cid: Reg<u32, _CID>

0x3c - OTG_HS core ID register

glpmcfg: Reg<u32, _GLPMCFG>

0x54 - OTG core LPM configuration register

hptxfsiz: Reg<u32, _HPTXFSIZ>

0x100 - OTG_HS Host periodic transmit FIFO size register

dieptxf1: Reg<u32, _DIEPTXF1>

0x104 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf2: Reg<u32, _DIEPTXF2>

0x108 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf3: Reg<u32, _DIEPTXF3>

0x11c - OTG_HS device IN endpoint transmit FIFO size register

dieptxf4: Reg<u32, _DIEPTXF4>

0x120 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf5: Reg<u32, _DIEPTXF5>

0x124 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf6: Reg<u32, _DIEPTXF6>

0x128 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf7: Reg<u32, _DIEPTXF7>

0x12c - OTG_HS device IN endpoint transmit FIFO size register

Implementations

impl RegisterBlock[src]

pub fn grxstsr_device(&self) -> &Reg<u32, _GRXSTSR_DEVICE>[src]

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

pub fn grxstsr_device_mut(&self) -> &mut Reg<u32, _GRXSTSR_DEVICE>[src]

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

pub fn grxstsr_host(&self) -> &Reg<u32, _GRXSTSR_HOST>[src]

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

pub fn grxstsr_host_mut(&self) -> &mut Reg<u32, _GRXSTSR_HOST>[src]

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

pub fn grxstsp_device(&self) -> &Reg<u32, _GRXSTSP_DEVICE>[src]

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

pub fn grxstsp_device_mut(&self) -> &mut Reg<u32, _GRXSTSP_DEVICE>[src]

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

pub fn grxstsp_host(&self) -> &Reg<u32, _GRXSTSP_HOST>[src]

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

pub fn grxstsp_host_mut(&self) -> &mut Reg<u32, _GRXSTSP_HOST>[src]

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

pub fn dieptxf0_device(&self) -> &Reg<u32, _DIEPTXF0_DEVICE>[src]

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

pub fn dieptxf0_device_mut(&self) -> &mut Reg<u32, _DIEPTXF0_DEVICE>[src]

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

pub fn hnptxfsiz_host(&self) -> &Reg<u32, _HNPTXFSIZ_HOST>[src]

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

pub fn hnptxfsiz_host_mut(&self) -> &mut Reg<u32, _HNPTXFSIZ_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> 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.