User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 399
www.energymicro.com
Bit Name Reset Access Description
This field indicates that the programmed transfer is complete on the AHB as well as on the USB, for this endpoint.
15.6.62 USB_DOEP0TSIZ - Device OUT Endpoint 0 Transfer Size Register
The application must modify this register before enabling the endpoint. Once the endpoint is enabled
using Endpoint Enable bit of the Device Endpoint x+1 Control register (USB_DOEPx_CTL.EPENA), the
core modifies this register. The application can only read this register once the core has cleared the
Endpoint Enable bit.
Offset Bit Position
0x3CB10
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0x0
0
0x00
Access
RW
RW
RW
Name
SUPCNT
PKTCNT
XFERSIZE
Bit Name Reset Access Description
31 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
30:29 SUPCNT 0x0 RW SETUP Packet Count
This field specifies the number of back-to-back SETUP data packets the endpoint can receive.
28:20 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
19 PKTCNT 0 RW Packet Count
This field is decremented to zero after a packet is written into the RxFIFO.
18:7 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
6:0 XFERSIZE 0x00 RW Transfer Size
Indicates the transfer size in bytes for endpoint 0. The core interrupts the application only after it has exhausted the transfer size
amount of data. The transfer size can be set to the maximum packet size of the endpoint, to be interrupted at the end of each packet.
The core decrements this field every time a packet is read from the RxFIFO and written to the external memory.
15.6.63 USB_DOEP0DMAADDR - Device OUT Endpoint 0 DMA Address
Register
Offset Bit Position
0x3CB14
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0xXXXXXXXX
Access
RW
Name
DOEP0DMAADDR