![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 512](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630512.webp)
www.geehy.com Page 511
Field
Name
R/W
Description
11: Reserved
Note: Software reset is required before change.
2
HSSPT
R
HS Support
This bit is used to control whether the connected device supports
HS communication.
0: Support HS/FS/LS
1: Only support FS/LS, and do not support HS
31:3
Reserved
High-speed OTG host frame interval register (OTG_HS1_HFIVL)
Offset address: 0x404
Reset value: 0x0000 EA60
Field
Name
R/W
Description
15:0
FIVL
R/W
Frame Interval
This bit is used to indicate the time interval between two continuous SOF,
micro-SOF or Keep-Alive tokens. If the application does not specify, the
value of the interval is calculated by the following formula:
Frame interval=frame duration×PHY clock frequency
31:16
Reserved
High-speed OTG host frame information register
(OTG_HS1_HFIFM)
Offset address: 0x408
Reset value: 0x0000 3FFF
Field
Name
R/W
Description
15:0
FNUM
R
Frame Number
This bit is equivalent to a counter. Every time a new SOF is
transmitted on USB, the value of this bit will increase by 1, and
when it reaches 0x3FFF, it will be cleared to 0.
31:16
FRTIME
R
Frame Remaining Time
This bit indicates the remaining time of current frame. Every time 1
PHY clock passes by, this bit will decrease by 1 and when it
becomes 0, the value will be reloaded, and a new SOF will be
transmitted on USB.
High-speed OTG host periodic transmission state register
(OTG_HS1_HPTXSTS)
Offset address: 0x410
Reset value: 0x0008 0100
Field
Name
R/W
Description
15:0
FSPACE
R/W
Periodic Transmit Data FIFO Available Space
This bit indicates the idle space of periodic TXFIFO (in 32-bit word).
hx0000: TXFIFO is full
hx0001: 1 word
hx0010: 2 words