![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 470](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630470.webp)
www.geehy.com Page 469
Register name
Description
Offset address
OTG_FS_HCHIMASKX
Full-speed OTG host channel-X interrupt mask
register (X=0…7)
0x50C+20*X
OTG_FS_HCHTSIZEX
Full-speed OTG host channel-X transmission size
register (X=0…7)
0x510+20*X
OTG_FS host mode register functional description
Full-speed OTG host configuration register (OTG_FS_HCFG)
Offset address: 0x400
Reset value: 0x0000 0000
Field
Name
R/W
Description
1:0
PHYCLKSEL
R/W
FS/LS PHY Clock Select
In FS mode:
01: PHY clock is 48MHz
Others: Reserved
In LS mode:
00: Reserved
01: PHY clock is 48MHz
10: PHY clock is 6MHz
11: Reserved
Note: Software reset is required after the value of this bit is
changed.
2
FSSPT
R
FS Support
After the host is connected to the device, select whether the host
follows the maximum speed supported by the device. If this bit is
set to 1, even if the device supports HS mode, the host supports
FS at most.
0: The host can support HS/FS/LS
1: The host only supports FS/LS
31:3
Reserved
Full-speed OTG host frrame interval register (OTG_FS_HFIVL)
Offset address: 0x404
Reset value: 0x0000 EA60
This register can be edited only after the port (PEN bit of
OTG_FS_HPORTCSTS register is set to 1) is enabled.
Field
Name
R/W
Description
15:0
FIVL
R/W
Frame Interval
This bit is used to control the time interval between two continuous SOF
(FS), micro-SOF (HS), and Keep-Alive (LS).
Time interval=frame duration×PHY clock
31:16
Reserved