dctl_data Union Reference

This union represents the bit fields in the Device Control Register. More...

#include <dwc_otg_regs.h>


Data Fields

uint32_t d32
 raw register data
struct {
   unsigned   rmtwkupsig:1
 Remote Wakeup.
   unsigned   sftdiscon:1
 Soft Disconnect.
   unsigned   gnpinnaksts:1
 Global Non-Periodic IN NAK Status.
   unsigned   goutnaksts:1
 Global OUT NAK Status.
   unsigned   tstctl:3
 Test Control.
   unsigned   sgnpinnak:1
 Set Global Non-Periodic IN NAK.
   unsigned   cgnpinnak:1
 Clear Global Non-Periodic IN NAK.
   unsigned   sgoutnak:1
 Set Global OUT NAK.
   unsigned   cgoutnak:1
 Clear Global OUT NAK.
   unsigned   pwronprgdone:1
 Power-On Programming Done.
   unsigned   gcontbna:1
 Global Continue on BNA.
   unsigned   gmc:2
 Global Multi Count.
   unsigned   ifrmnum:1
 Ignore Frame Number for ISOC EPs.
   unsigned   nakonbble:1
 NAK on Babble.
   unsigned   reserved17_31:15
b
 register bits


Detailed Description

This union represents the bit fields in the Device Control Register.

Read the register into the d32 member then set/clear the bits using the bit elements.

Definition at line 957 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