hprt0_data Union Reference

This union represents the bit fields in the Host Port Control and Status Register. More...

#include <dwc_otg_regs.h>


Data Fields

uint32_t d32
 raw register data
struct {
   unsigned   prtconnsts:1
   unsigned   prtconndet:1
   unsigned   prtena:1
   unsigned   prtenchng:1
   unsigned   prtovrcurract:1
   unsigned   prtovrcurrchng:1
   unsigned   prtres:1
   unsigned   prtsusp:1
   unsigned   prtrst:1
   unsigned   reserved9:1
   unsigned   prtlnsts:2
   unsigned   prtpwr:1
   unsigned   prttstctl:4
   unsigned   prtspd:2
   unsigned   reserved19_31:13
b
 register bits


Detailed Description

This union represents the bit fields in the Host Port Control and Status Register.

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

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