GD32F20x User Manual
941
14:11
Reserved
Must be kept at reset value.
10:0
MPL[10:0]
This field defines the maximum packet length in bytes.
Device IN endpoint x interrupt flag register (USBFS_DIEPxINTF) (x = 0..3, where
x = endpoint_number)
Address offset: (endpoint_number × 0x20)
Reset value: 0x0000 0080
This register contains the status and events of an IN endpoint, when an IN endpoint interrupt
occurs, read this register for the respective endpoint to get the source of the interrupt. The
flag bits in this register are all set by hardware and cleared by writing 1 except the read-only
TXFE bit.
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Rese
rve
d
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Rese
rve
d
T
X
F
E
IE
P
NE
Rese
rve
d
E
P
T
X
F
UD
CIT
O
Rese
rve
d
E
P
DIS
TF
r
rc_w1
rc_w1
rc_w1
rc_w1
rc_w1
Bits
Fields
Descriptions
31:8
Reserved
Must be kept at reset value.
7
TXFE
Tx FIFO empty
The Tx FIFO of this IN endpoint has reached the empty threshold value defined by
TXFTH field in USBFS_GAHBCS register.
6
IEPNE
IN endpoint NAK effective
The setting of SNAK bit in USBFS_DIEPxCTL register takes effect. This bit can be
cleared either by writing 1 to it or by setting CNAK bit in USBFS_DIEPxCTL
register.
5
Reserved
Must be kept at reset value.
4
EPTXFUD
Endpoint Tx FIFO underrun
This flag is triggered if the Tx FIFO has no packet data to send when an IN token
is received.
3
CITO
Control IN Timeout interrupt
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...