Struct stm32f4::stm32f401::otg_fs_global::RegisterBlock [−][src]
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: DIEPTXF
0x104 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
dieptxf2: DIEPTXF
0x108 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
dieptxf3: DIEPTXF
0x10c - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
Implementations
impl RegisterBlock
[src]
pub fn grxstsr_host(&self) -> &GRXSTSR_HOST
[src]
0x1c - OTG_FS Receive status debug read(Host mode)
pub fn grxstsr_host_mut(&self) -> &mut GRXSTSR_HOST
[src]
0x1c - OTG_FS Receive status debug read(Host mode)
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 grxstsp_host(&self) -> &GRXSTSP_HOST
[src]
0x20 - OTG status read and pop (host mode)
pub fn grxstsp_host_mut(&self) -> &mut GRXSTSP_HOST
[src]
0x20 - OTG status read and pop (host mode)
pub fn grxstsp_device(&self) -> &GRXSTSP_DEVICE
[src]
0x20 - OTG status read and pop (device mode)
pub fn grxstsp_device_mut(&self) -> &mut GRXSTSP_DEVICE
[src]
0x20 - OTG status read and pop (device mode)
pub fn hnptxfsiz(&self) -> &HNPTXFSIZ
[src]
0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)
pub fn hnptxfsiz_mut(&self) -> &mut HNPTXFSIZ
[src]
0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)
pub fn dieptxf0(&self) -> &DIEPTXF0
[src]
0x28 - OTG_FS non-periodic transmit FIFO size register (Device mode)
pub fn dieptxf0_mut(&self) -> &mut DIEPTXF0
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,