GigaDevice Semiconductor GD32VF103 User Manual page 531

Risc-v 32-bit mcu
Hide thumbs Also See for GD32VF103:
Table of Contents

Advertisement

28:20
Reserved
19
PCNT
18:7
Reserved
6:0
TLEN[6:0]
Device IN endpoint-x transfer length register (USBFS_DIEPxLEN) (x = 1..3,
where x = endpoint_number)
Address offset: 0x910 + (endpoint_number × 0x20)
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
31
30
29
rw
15
14
13
Bits
Fields
31
Reserved
30:29
MCPF[1:0]
11: 3 packets
Must be kept at reset value
Packet count
The number of data packets desired to receive 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 reception
on bus.
Must be kept at reset value
Transfer length
The total data bytes number of a transfer.
This field is the total data bytes of all the data packets desired to receive in an OUT
transfer. Program this field before the endpoint is enabled. Each time software reads
out a packet from the Rx FIFO, this field is decreased by the byte size of the packet.
28
27
26
25
12
11
10
9
Descriptions
Must be kept at reset value
Multi packet count per frame
This field indicates the packet count that must be transmitted per frame for periodic
IN endpoints on the USB. It is used to calculate the data PID for isochronous IN
endpoints by the core.
01: 1 packet
GD32VF103 User Manual
24
23
22
21
rw
8
7
6
5
rw
20
19
18
17
rw
4
3
2
1
16
0
531

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GD32VF103 and is the answer not in the manual?

Table of Contents