
AT32F413
Series Reference Manual
2022.06.27
Page 324
Rev 2.00
Bit 8
EXF
0x0
rw
Endpoint Extend function
USB endpoint extend function is used for Bulk and Control
transfers. For Bulk transfer, this bit is set to indicate that
double-buffered is enabled. For Control transfer, if this bit
is set, it detects whether the data length in the SETUP
transaction is 0 or not, a STALL is returned if the value is
not 0.
Bit 7
TXTC
0x0
rw0c
Tx transaction completed
This bit is set when IN transaction is completed, indicating
that Tx transaction is completed.
0: Software clears Tx transaction complete flag
1: IN transaction reception is completed
Bit 6
TXDTS
0x0
tog
Tx Data Toggle (DAT0/DATA1) Synchronization
This is non-ISO endpoint, indicating that the current IN
transaction is DATA0/DATA1.
0: DATA0
1: DATA1
Bit 5: 4
TXSTS
0x0
tog
Tx Status
This field indicates the endpoint status in response to the
IN transaction of the host. There are four states:
DISABLE, NAK, STALL, ACK.
00: DISABLED, endpoint ignores all transmission
requests.
01: STALL, endpoint responds to all transmission requests
with STALL packets
10: NAK, endpoint responds to all transmission requests
with NAK packets
11: VALID, endpoint can be used for transmission
Bit 3: 0
EPTADDR
0x0
rw
Endpoint address
21.5.2 USBFS control register (USBFS_CTRL)
Bit
Register
Reset value
Type
Description
Bit 15
TCIEN
0x0
rw
Transmission complete interrupt enable
0: Disabled
1: Enabled
Bit 14
UCFORIEN
0x0
rw
USB Core fifo overrun interrupt enable
0: Disabled
1: Enabled
Bit 13
BEIEN
0x0
rw
Bus error interrupt enable
0: Disabled
1: Enabled
Bit 12
WKIEN
0x0
rw
Wakeup/Remote wakeup interrupt enable
0: Disabled
1: Enabled
。
Bit 11
SPIEN
0x0
rw
Bus suspend interrupt enable
0: Disabled
1: Enabled
Bit 10
RSTIEN
0x0
rw
Bus reset interrupt enable
0: Disabled
1: Enabled
Bit 9
SOFIEN
0x0
rw
Start of frame interrupt enable
0: Disabled
1: Enabled
Bit 8
LSOFIEN
0x0
rw
Lost start of frame interrupt enable
0: Disabled