
AT32F413
Series Reference Manual
2022.06.27
Page 326
Rev 2.00
0: Reset value
1: No SOF has been received for more than 1ms.
Bit 7: 5
Reserved
0x0
resd
Kept at its default value.
Bit 4
INOUT
0x0
ro
IN/Out transaction
When TC complete interruput is generated, this bit is used
to indicate whether IN/OUT transcation has been
completed.
0: IN transaction
1: OUT transaction
Bit 3: 0
EPT_NUM
0x0
ro
Endpoint number
When TC complete interruput is generated, this bit is used
to indicate which endpoint transfer has been completed
successfully.
21.5.4 USBFS SOF frame number register (USBFS_SOFRNUM)
Bit
Register
Reset value
Type
Description
Bit 15
DPSTS
0x0
ro
D+ status
Indicates D+ status
Bit 14
DMSTS
0x0
ro
D- status
Indicates D- status
Bit 13
CLCK
0x0
ro
Connect Locked
This bit is set when two consecutive SOF packets have
been received.
Bit 12: 11 LSOFNUM
0x0
ro
Lost SOF number
After LSOF, this bit indicates the number of SOF packet
lost. It is cleared by hardware at the reception of an SOF
transaction.
Bit 10: 0
SOFNUM
0xXXX
ro
Start of Frame number
Indicates the current SOF frame number.
21.5.5 USBFS device address register (USBFS_DEVADDR)
Bit
Register
Reset value
Type
Description
Bit 15: 8
Reserved
0x00
resd
Kept at its default value
Bit 7
CEN
0x0
rw
USB Core Enable
0: USB Core disabled
1: USB Core enabled
Bit 6: 0
ADDR
0x00
rw
Host assign Device address
These bits contain the device address assigned by the
host during the enumeration process.
21.5.6 USBFS buffer table address register (USBFS_BUFTBL)
Bit
Register
Reset value
Type
Description
Bit 15: 3
BTADDR
0x0000
rw
Endpoint buffer table start address
This field indicates the start address of the buffer
description table. It is 0 by defauly.
Bit 2: 0
Reserved
0x0
resd
Forced to 0 by hardware.
21.5.7 USBFS CFG control register (USBFS_CFG)
Bit
Register
Reset value
Type
Description
Bit 15: 2
Reserved
0x0000
resd
Kept at its default value.
Bit 1
PUO
0x0
rw
DP pull-up off
0: DP pull-up resistance enabled
1: DP pull-up resistance disabled
Bit 0
SOFOUTEN
0x0
rw
SOF output enable