[][src]Struct stm32f4::stm32f469::otg_fs_global::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub gotgctl: GOTGCTL,
    pub gotgint: GOTGINT,
    pub gahbcfg: GAHBCFG,
    pub gusbcfg: GUSBCFG,
    pub grstctl: GRSTCTL,
    pub gintsts: GINTSTS,
    pub gintmsk: GINTMSK,
    pub grxfsiz: GRXFSIZ,
    pub gnptxsts: GNPTXSTS,
    pub gccfg: GCCFG,
    pub cid: CID,
    pub hptxfsiz: HPTXFSIZ,
    pub dieptxf1: DIEPTXF1,
    pub dieptxf2: DIEPTXF2,
    pub dieptxf3: DIEPTXF3,
    pub dieptxf4: DIEPTXF4,
    pub dieptxf5: DIEPTXF5,
    // some fields omitted
}

Register block

Fields

gotgctl: GOTGCTL

0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)

gotgint: GOTGINT

0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)

gahbcfg: GAHBCFG

0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)

gusbcfg: GUSBCFG

0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)

grstctl: GRSTCTL

0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)

gintsts: GINTSTS

0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)

gintmsk: GINTMSK

0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)

grxfsiz: GRXFSIZ

0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)

gnptxsts: GNPTXSTS

0x2c - OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)

gccfg: GCCFG

0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)

cid: CID

0x3c - core ID register

hptxfsiz: HPTXFSIZ

0x100 - OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)

dieptxf1: DIEPTXF1

0x104 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF1)

dieptxf2: DIEPTXF2

0x108 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)

dieptxf3: DIEPTXF3

0x10c - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)

dieptxf4: DIEPTXF4

0x110 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)

dieptxf5: DIEPTXF5

0x114 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF5)

Implementations

impl RegisterBlock[src]

pub fn grxstsr_host(&self) -> &GRXSTSR_HOST[src]

0x1c - OTG_FS Receive status debug read(Hostmode)

pub fn grxstsr_host_mut(&self) -> &mut GRXSTSR_HOST[src]

0x1c - OTG_FS Receive status debug read(Hostmode)

pub fn grxstsr_device(&self) -> &GRXSTSR_DEVICE[src]

0x1c - OTG_FS Receive status debug read(Device mode)

pub fn grxstsr_device_mut(&self) -> &mut GRXSTSR_DEVICE[src]

0x1c - OTG_FS Receive status debug read(Device mode)

pub fn gnptxfsiz_host(&self) -> &GNPTXFSIZ_HOST[src]

0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)

pub fn gnptxfsiz_host_mut(&self) -> &mut GNPTXFSIZ_HOST[src]

0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)

pub fn gnptxfsiz_device(&self) -> &GNPTXFSIZ_DEVICE[src]

0x28 - OTG_FS non-periodic transmit FIFO size register (Device mode)

pub fn gnptxfsiz_device_mut(&self) -> &mut GNPTXFSIZ_DEVICE[src]

0x28 - OTG_FS non-periodic transmit FIFO size register (Device 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.