![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 494](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630494.webp)
www.geehy.com Page 493
Register name
Description
Offset
address
OTG_HS1_DTXFIFO4
High-speed OTG device IN endpoint TXFIFO size register 4
0x110
OTG_HS1_DTXFIFO5
High-speed OTG device IN endpoint TXFIFO size register 5
0x114
OTG_HS1_DTXFIFO6
High-speed OTG device IN endpoint TXFIFO size register 6
0x118
OTG_HS1_DTXFIFO7
High-speed OTG device IN endpoint TXFIFO size register 7
0x11C
OTG_HS1 global register functional description
High-speed OTG control state register (OTG_HS1_GCTRLSTS)
Offset address: 0x00
Reset value: 0x0000 0800
Field
Name
R/W
Description
0
SREQSUC
R
Session Request Success
0: Session request fails
1: Session request succeeds
Note: It can be used only in device mode
1
SREQ
R/W
Session Request
0: No request session
1: Request session
When HNSUCCHG bit of OTG_HS1_GINT register is set, this bit will be
cleared by writing 0.
This bit will be cleared to 0 when HNSUCCHG is
cleared to 0.
When USB 1.1 full-speed serial transceiver interface is used for session
request, wait for V
BUS
to discharge to 0.2 V after the BSVD bit of the
register is cleared to 0. The discharge time may be different according
to different PHY.
Note: It can be used only in device mode
7:2
Reserved
8
HNSUC
R
Host Negotiation Success
This bit will be cleared to 0 when HNPREQ of this register is set to 1
0: Host negotiation fails
1: Host negotiation succeeds
Note: It can be used only in device mode
9
HNPREQ
R/W
Host Negotiation Protocol Request (HNP Request)
0: Not transmit HNP request
1: Transmit HNP request
When HNSUCCHG bit of OTG_HS1_GINT register is set, this bit will be
cleared by writing 0. This bit will be cleared to 0 when HNSUCCHG is
cleared to 0.
Note: It can be used only in device mode
10
HHNPEN
R/W
Host Set HNP Enable
0: Disable
1: Enable
Note: It can be used only in master mode