[][src]Struct stm32f1xx_hal::stm32::otg_fs_global::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub fs_gotgctl: Reg<u32, _FS_GOTGCTL>,
    pub fs_gotgint: Reg<u32, _FS_GOTGINT>,
    pub fs_gahbcfg: Reg<u32, _FS_GAHBCFG>,
    pub fs_gusbcfg: Reg<u32, _FS_GUSBCFG>,
    pub fs_grstctl: Reg<u32, _FS_GRSTCTL>,
    pub fs_gintsts: Reg<u32, _FS_GINTSTS>,
    pub fs_gintmsk: Reg<u32, _FS_GINTMSK>,
    pub fs_grxfsiz: Reg<u32, _FS_GRXFSIZ>,
    pub fs_gnptxsts: Reg<u32, _FS_GNPTXSTS>,
    pub fs_gccfg: Reg<u32, _FS_GCCFG>,
    pub fs_cid: Reg<u32, _FS_CID>,
    pub fs_hptxfsiz: Reg<u32, _FS_HPTXFSIZ>,
    pub fs_dieptxf1: Reg<u32, _FS_DIEPTXF1>,
    pub fs_dieptxf2: Reg<u32, _FS_DIEPTXF2>,
    pub fs_dieptxf3: Reg<u32, _FS_DIEPTXF3>,
    // some fields omitted
}

Register block

Fields

fs_gotgctl: Reg<u32, _FS_GOTGCTL>

0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)

fs_gotgint: Reg<u32, _FS_GOTGINT>

0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)

fs_gahbcfg: Reg<u32, _FS_GAHBCFG>

0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)

fs_gusbcfg: Reg<u32, _FS_GUSBCFG>

0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)

fs_grstctl: Reg<u32, _FS_GRSTCTL>

0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)

fs_gintsts: Reg<u32, _FS_GINTSTS>

0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)

fs_gintmsk: Reg<u32, _FS_GINTMSK>

0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)

fs_grxfsiz: Reg<u32, _FS_GRXFSIZ>

0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)

fs_gnptxsts: Reg<u32, _FS_GNPTXSTS>

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

fs_gccfg: Reg<u32, _FS_GCCFG>

0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)

fs_cid: Reg<u32, _FS_CID>

0x3c - core ID register

fs_hptxfsiz: Reg<u32, _FS_HPTXFSIZ>

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

fs_dieptxf1: Reg<u32, _FS_DIEPTXF1>

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

fs_dieptxf2: Reg<u32, _FS_DIEPTXF2>

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

fs_dieptxf3: Reg<u32, _FS_DIEPTXF3>

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

Methods

impl RegisterBlock[src]

pub fn fs_grxstsr_host(&self) -> &Reg<u32, _FS_GRXSTSR_HOST>[src]

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

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

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

pub fn fs_grxstsr_device(&self) -> &Reg<u32, _FS_GRXSTSR_DEVICE>[src]

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

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

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

pub fn fs_gnptxfsiz_host(&self) -> &Reg<u32, _FS_GNPTXFSIZ_HOST>[src]

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

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

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

pub fn fs_gnptxfsiz_device(&self) -> &Reg<u32, _FS_GNPTXFSIZ_DEVICE>[src]

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

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