EasyManua.ls Logo

GigaDevice Semiconductor GD32VF103 - Page 532

GigaDevice Semiconductor GD32VF103
536 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GD32VF103 User Manual
532
10: 2 packets
11: 3 packets
28:19
PCNT[9:0]
Packet count
The number of data packets desired to be transmitted in a transfer.
Program this field before the endpoint is enabled. After the transfer starts, this field
is decreased automatically by USBFS after each successful data packet
transmission.
18:0
TLEN[18:0]
Transfer length
The total data bytes number of a transfer.
This field is the total data bytes of all the data packets desired to be transmitted in
an IN transfer. Program this field before the endpoint is enabled. When software
successfully writes a packet into the endpoints Tx FIFO, this field is decreased by
the byte size of the packet.
Device OUT endpoint-x transfer length register (USBFS_DOEPxLEN) (x = 1..3,
where x = endpoint_number)
Address offset: 0x0B10 + (endpoint_number × 0x20)
Reset value: 0x0000 0000
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
Reserved
RXDPID/STPCN
T[1:0]
PCNT[9:0]
TLEN[18:16]
r/rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TLEN[15:0]
rw
Bits
Fields
Descriptions
31
Reserved
Must be kept at reset value
30:29
RXDPID[1:0]
STPCNT[1:0]
Received data PID (For isochronous OUT endpoints)
This field saves the PID of the latest received data packet on this endpoint.
00: DATA0
10: DATA1
Others: Reserved
SETUP packet count (For control OUT Endpoints.)

Table of Contents

Related product manuals