gnptxsts_data Union Reference

This union represents the bit fields in the Non-Periodic Transmit FIFO/Queue Status Register (GNPTXSTS). More...

#include <dwc_otg_regs.h>


Data Fields

uint32_t d32
 raw register data
struct {
   unsigned   nptxfspcavail:16
   unsigned   nptxqspcavail:8
   unsigned   nptxqtop_terminate:1
 Top of the Non-Periodic Transmit Request Queue
  • bit 24 - Terminate (Last entry for the selected channel/EP)
  • bits 26:25 - Token Type
    • 2'b00 - IN/OUT
    • 2'b01 - Zero Length OUT
    • 2'b10 - PING/Complete Split
    • 2'b11 - Channel Halt
  • bits 30:27 - Channel/EP Number.

   unsigned   nptxqtop_token:2
   unsigned   nptxqtop_chnep:4
   unsigned   reserved:1
b
 register bits


Detailed Description

This union represents the bit fields in the Non-Periodic Transmit FIFO/Queue Status Register (GNPTXSTS).

Read the register into the d32 element then read out the bits using the bit elements.

Definition at line 667 of file dwc_otg_regs.h.


The documentation for this union was generated from the following file:
Generated on Tue May 5 02:22:49 2009 for DesignWare USB 2.0 OTG Controller (DWC_otg) Device Driver by  doxygen 1.4.7