pub struct OTG_HS_GLOBAL { /* private fields */ }
Expand description
USB on the go high speed
Implementations§
Source§impl OTG_HS_GLOBAL
impl OTG_HS_GLOBAL
Sourcepub const PTR: *const RegisterBlock = {0x40040000 as *const stm32f4xx_hal::pac::otg_hs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40040000 as *const stm32f4xx_hal::pac::otg_hs_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 - OTG_HS device IN endpoint transmit FIFO size register
Sourcepub fn dieptxf2(&self) -> &Reg<DIEPTXF_SPEC>
pub fn dieptxf2(&self) -> &Reg<DIEPTXF_SPEC>
0x108 - OTG_HS device IN endpoint transmit FIFO size register
Sourcepub fn dieptxf3(&self) -> &Reg<DIEPTXF_SPEC>
pub fn dieptxf3(&self) -> &Reg<DIEPTXF_SPEC>
0x10c - OTG_HS device IN endpoint transmit FIFO size register
Sourcepub fn dieptxf4(&self) -> &Reg<DIEPTXF_SPEC>
pub fn dieptxf4(&self) -> &Reg<DIEPTXF_SPEC>
0x110 - OTG_HS device IN endpoint transmit FIFO size register
Sourcepub fn dieptxf5(&self) -> &Reg<DIEPTXF_SPEC>
pub fn dieptxf5(&self) -> &Reg<DIEPTXF_SPEC>
0x114 - OTG_HS device IN endpoint transmit FIFO size register
Sourcepub fn grxstsr_peripheral(&self) -> &Reg<GRXSTSR_PERIPHERAL_SPEC>
pub fn grxstsr_peripheral(&self) -> &Reg<GRXSTSR_PERIPHERAL_SPEC>
0x1c - OTG_HS Receive status debug read register (peripheral mode mode)
Sourcepub fn grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
pub fn grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
0x1c - OTG_HS Receive status debug read register (host mode)
Sourcepub fn grxstsp_peripheral(&self) -> &Reg<GRXSTSP_PERIPHERAL_SPEC>
pub fn grxstsp_peripheral(&self) -> &Reg<GRXSTSP_PERIPHERAL_SPEC>
0x20 - OTG_HS status read and pop register (peripheral mode)
Sourcepub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
pub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
0x20 - OTG_HS status read and pop register (host mode)
Sourcepub fn tx0fsiz(&self) -> &Reg<TX0FSIZ_SPEC>
pub fn tx0fsiz(&self) -> &Reg<TX0FSIZ_SPEC>
0x28 - Endpoint 0 transmit FIFO size (peripheral mode)
Sourcepub fn gnptxfsiz(&self) -> &Reg<GNPTXFSIZ_SPEC>
pub fn gnptxfsiz(&self) -> &Reg<GNPTXFSIZ_SPEC>
0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)