...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
367
www.silabs.com
Bit
Name
Reset
Access
Description
31:25
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
24:21
FN
0x0
R
Frame Number device only
This is the least significant 4 bits of the Frame number in which the packet is received on the USB.
20:17
PKTSTS
0x0
R
Packet Status (host or device)
Indicates the status of the received packet.
Value
Mode
Description
1
GOUTNAK
Device mode: Global OUT NAK (triggers an interrupt).
2
PKTRCV
Host mode: IN data packet received.
Device mode: OUT data packet received.
3
XFERCOMPL
Host mode: IN transfer completed (triggers an interrupt).
Device mode: OUT transfer completed (triggers an interrupt).
4
SETUPCOMPL
Device mode: SETUP transaction completed (triggers an interrupt).
5
TGLERR
Host mode: Data toggle error (triggers an interrupt).
6
SETUPRCV
Device mode: SETUP data packet received.
7
CHLT
Host mode: Channel halted (triggers an interrupt).
16:15
DPID
0x0
R
Data PID (host or device)
Host mode: Indicates the Data PID of the received packet. Device mode: Indicates the Data PID of the received OUT data packet.
Value
Mode
Description
0
DATA0
DATA0 PID.
1
DATA1
DATA1 PID.
2
DATA2
DATA2 PID.
3
MDATA
MDATA PID.
14:4
BCNT
0x000
R
Byte Count (host or device)
Host mode: Indicates the byte count of the received IN data packet.
Device mode: Indicates the byte count of the received data packet.
3:0
CHEPNUM
0x0
R
Channel Number host only / Endpoint Number device only
Host mode: Indicates the channel number to which the current received packet belongs.
Device mode: Indicates the endpoint number to which the current received packet belongs.
15.6.16 USB_GRXSTSP - Receive Status Read and Pop Register
A read to the Receive Status Read and Pop register returns the contents of the top of the Receive FIFO
and pops the top data entry out of the RxFIFO. The receive status contents must be interpreted differently
in Host and Device modes. The core ignores the receive status pop/read when the receive FIFO is empty
and returns a value of 0x00000000. The application must only pop the Receive Status FIFO when the
Receive FIFO Non-Empty bit of the Core Interrupt register (USB_GINTSTS.RXFLVL) is asserted.
Offset
Bit Position
0x3C020
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
0x0
0x0
0x000
0x0
Access
R
R
R
R
R
Name
FN
PKTSTS
DPID
BCNT
CHEPNUM
Bit
Name
Reset
Access
Description
31:25
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......