User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 367
www.energymicro.com
Offset Bit Position
0x3C028
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
0x0200
0x200
Access
RW
RW
Name
NPTXFINEPTXF0DEP
NPTXFSTADDR
Bit Name Reset Access Description
31:16 NPTXFINEPTXF0DEP 0x0200 RW Non-periodic TxFIFO Depth (host only) / IN Endpoint TxFIFO 0
Depth (device only)
This value is in terms of 32-bit words. Minimum value is 16. Maximum value is 512.
15:10 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
9:0 NPTXFSTADDR 0x200 RW Non-periodic Transmit RAM Start Address (host only)
This field contains the memory start address for Non-periodic Transmit FIFO RAM. Programmed values must not exceed the reset
value.
15.6.19 USB_GNPTXSTS - Non-periodic Transmit FIFO/Queue Status
Register
This register is used in host mode only. This read-only register contains the free space information for
the Non-periodic TxFIFO and the Nonperiodic Transmit Request Queue.
Offset Bit Position
0x3C02C
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
0x00
0x08
0x0200
Access
R
R
R
Name
NPTXQTOP
NPTXQSPCAVAIL
NPTXFSPCAVAIL
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:24 NPTXQTOP 0x00 R Top of the Non-periodic Transmit Request Queue
Entry in the Non-periodic Tx Request Queue that is currently being processed by the MAC.
Bits [6:3]: Channel/endpoint number.
Bits [2:1]: 00: IN/OUT token, 01: Zero-length transmit packet (device IN/host OUT), 10: Unused, 11: Channel halt command.
Bit [0]: Terminate (last Entry for selected channel/endpoint).
23:16 NPTXQSPCAVAIL 0x08 R Non-periodic Transmit Request Queue Space Available