GRXSTSP
Receive Status Read /Pop Register
Module Instance | Base Address | Register Address |
---|---|---|
i_usbotg_0_DWC_otg_intreg | 0xFFB00000 | 0xFFB00020 |
i_usbotg_1_DWC_otg_intreg | 0xFFB40000 | 0xFFB40020 |
Size: 32
Offset: 0x20
Access: RO
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
Reserved |
RESERVED RO 0x0 |
FN RO 0x0 |
PktSts RO 0x0 |
DPID RO 0x0 |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DPID RO 0x0 |
BCnt RO 0x0 |
ChNum RO 0x0 |
GRXSTSP Fields
Bit | Name | Description | Access | Reset | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30:25 | RESERVED |
RESERVED |
RO | 0x0 | ||||||||||||||||||||||||||||||||||
24:21 | FN |
Mode: Device only Frame Number (FN) This is the least significant 4 bits of the (micro)Frame number in which the packet is received on the USB. This field is supported only when isochronous OUT endpoints are supported. |
RO | 0x0 | ||||||||||||||||||||||||||||||||||
20:17 | PktSts |
Mode: Host only Packet Status (PktSts) Indicates the status of the received packet 4'b0010: IN data packet received 4'b0011: IN transfer completed (triggers an interrupt) 4'b0101: Data toggle error (triggers an interrupt) 4'b0111: Channel halted (triggers an interrupt) Others: Reserved Mode: Device only Packet Status (PktSts) Indicates the status of the received packet 4'b0001: Global OUT NAK (triggers an interrupt) 4'b0010: OUT data packet received 4'b0011: OUT transfer completed (triggers an interrupt) 4'b0100: SETUP transaction completed (triggers an interrupt) 4'b0110: SETUP data packet received Others: Reserved
|
RO | 0x0 | ||||||||||||||||||||||||||||||||||
16:15 | DPID |
Mode: Host only Data PID (DPID) Indicates the Data PID of the received packet 2'b00: DATA0 2'b10: DATA1 2'b01: DATA2 2'b11: MDATA Mode: Device only Data PID (DPID) Indicates the Data PID of the received OUT data packet 2'b00: DATA0 2'b10: DATA1 2'b01: DATA2 2'b11: MDATA
|
RO | 0x0 | ||||||||||||||||||||||||||||||||||
14:4 | BCnt |
Mode: Host only Byte Count (BCnt) Indicates the byte count of the received IN data packet. Mode: Device only Byte Count (BCnt) Indicates the byte count of the received data packet. |
RO | 0x0 | ||||||||||||||||||||||||||||||||||
3:0 | ChNum |
Mode: Host only Channel Number (ChNum) Indicates the channel number to which the current received packet belongs. Mode: Device only Endpoint Number (EPNum) Indicates the endpoint number to which the current received packet belongs.
|
RO | 0x0 |