513
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit Field
Name
Description
1
、
Software can read and write this bit, but writing 0 is invalid, and writing 1
toggles this bit.
2
、
Double-buffered bulk endpoint, which controls the transmission status according
to the buffer status used, refer to section 19.4.3.
3
、
Isochronous endpoint, the hardware will not change the state of the endpoint
after the transaction is successfully completed
11
SETUP
SETUP transfer completion flag
This bit is set by hardware when the USB module correctly receives the PID SETUP
token packet.
Note:
1
、
Software can only read this bit, not write this bit.
2
、
This bit USB_EPn.SETUP is only valid for control endpoints.
10
:
9
EP_TYPE[1:0]
Endpoint type
EP_TYPE[1:0]
Description
00
BULK: bulk endpoint
01
CONTROL: control endpoint
10
ISO: isochronous endpoint
11
INTERRUPT: interrupt endpoint
8
EP_KIND
Endpoint special type
EP_TYPE[1:0]
EP_KIND meaning
00
BULK
DBL_BUF: double buffered endpoint
01
CONTROL
STATUS_OUT
10
ISO
Undefined
11
INTERRUPT
Undefined
7
CTRS_TX
Correct send flag
This bit is set by hardware when an IN transaction on this endpoint completes
successfully. If USB_CTRL.CTRSM = 1, the corresponding interrupt will be
generated.
Note:
1
、
Software can read and write this bit, but only writing 0 is valid, and writing 1 is
invalid.
6
DATTOG_TX
Send data PID toggle bit
If the endpoint is not isochronous, this bit represents the toggle data bit (0 = DATA0,
1 = DATA1).
Double-buffered endpoint, this bit is used to implement the flow control mechanism
for double-buffered endpoints.
Isochronous endpoint, this bit is used for double buffer exchange.
Note:
1
、
Software can read and write this bit, but writing 0 is invalid, and writing 1
toggles this bit.
2
、
Control endpoint, the hardware will set this bit after the USB module correctly
receives the PID SETUP token packet.