Struct stm32_eth::stm32::OTG_FS_GLOBAL
source · pub struct OTG_FS_GLOBAL { /* private fields */ }
Expand description
USB on the go full speed
Implementations§
source§impl OTG_FS_GLOBAL
impl OTG_FS_GLOBAL
sourcepub const PTR: *const RegisterBlock = {0x50000000 as *const stm32f4xx_hal::pac::otg_fs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50000000 as *const stm32f4xx_hal::pac::otg_fs_global::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>§
sourcepub fn dieptxf1(&self) -> &Reg<DIEPTXF_SPEC>
pub fn dieptxf1(&self) -> &Reg<DIEPTXF_SPEC>
0x104 - OTF_FS device IN endpoint transmit FIFO size register
sourcepub fn dieptxf2(&self) -> &Reg<DIEPTXF_SPEC>
pub fn dieptxf2(&self) -> &Reg<DIEPTXF_SPEC>
0x108 - OTF_FS device IN endpoint transmit FIFO size register
sourcepub fn dieptxf3(&self) -> &Reg<DIEPTXF_SPEC>
pub fn dieptxf3(&self) -> &Reg<DIEPTXF_SPEC>
0x10c - OTF_FS device IN endpoint transmit FIFO size register
sourcepub fn grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
pub fn grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
0x1c - OTG status debug read (host mode)
sourcepub fn grxstsr_device(&self) -> &Reg<GRXSTSR_DEVICE_SPEC>
pub fn grxstsr_device(&self) -> &Reg<GRXSTSR_DEVICE_SPEC>
0x1c - OTG_FS Receive status debug read(Device mode)
sourcepub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
pub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
0x20 - OTG status read and pop (host mode)
sourcepub fn grxstsp_device(&self) -> &Reg<GRXSTSP_DEVICE_SPEC>
pub fn grxstsp_device(&self) -> &Reg<GRXSTSP_DEVICE_SPEC>
0x20 - OTG status read and pop (device mode)
sourcepub fn hnptxfsiz(&self) -> &Reg<HNPTXFSIZ_SPEC>
pub fn hnptxfsiz(&self) -> &Reg<HNPTXFSIZ_SPEC>
0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)
sourcepub fn dieptxf0(&self) -> &Reg<DIEPTXF0_SPEC>
pub fn dieptxf0(&self) -> &Reg<DIEPTXF0_SPEC>
0x28 - OTG_FS non-periodic transmit FIFO size register (Device mode)
Trait Implementations§
source§impl Debug for OTG_FS_GLOBAL
impl Debug for OTG_FS_GLOBAL
source§impl Deref for OTG_FS_GLOBAL
impl Deref for OTG_FS_GLOBAL
§type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.