![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 529](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630529.webp)
www.geehy.com Page 528
Field
Name
R/W
Description
13
NAKM
R/W
NAK Interrupt Mask
0: Mask the interrupt
1: Interrupt
14
NYETM
R/W
NYET Interrupt Mask
0: Mask the interrupt
1: Interrupt
31:15
Reserved
High-speed OTG device IN endpoint x control register
(OTG_HS1_DIEPCTRLx) (x=0~7, endpoint number)
Offset address: 0x900+0x20m
;
m=0~7
Reset value: 0x0000 0000
Field
Name
R/W
Description
10:0
MAXPS
R/W
Maximum Packet Size
This bit indicates the maximum data packet size of the current
endpoint (in byte).
14:11
Reserved
15
USBAEP
R/W
USB Active Endpoint
This bit indicates whether the endpoint is activated in the current
configuration and interface.
After USB is reset, this bit will be cleared to 0 (except endpoint
0).
16
EOF
R
Even Odd Frame
Used for synchronous IN endpoints
0: Even frame
1: Odd frame
Endpoint Data PID
Used for interrupt/batch IN endpoints
0
:
DATA0
1
:
DATA1
17
NAKSTS
R
NAK Status
0: The module replies non-NAK handshake according to the
FIFO state
1: The module replies the NAK handshake on this endpoint. At
this time, for OUT endpoint, even if there is remaining space in
RXFIFO, the module will still stop receiving data
Note: The module always responds to the SETUP data packet
through ACK handshake.
19:18
EPTYPE
R/W
Endpoint Type
00: Control
01: Synchronous
10: Batch
11: Interrupt
20
Reserved