hctsiz_data Union Reference

This union represents the bit fields in the Host Channel Transfer Size Register. More...

#include <dwc_otg_regs.h>


Data Fields

uint32_t d32
 raw register data
struct {
   unsigned   xfersize:19
 Total transfer size in bytes.
   unsigned   pktcnt:10
 Data packets to transfer.
   unsigned   pid:2
 Packet ID for next data packet 0: DATA0 1: DATA2 2: DATA1 3: MDATA (non-Control), SETUP (Control).
   unsigned   dopng:1
 Do PING protocol when 1.
b
 register bits
struct {
   unsigned   schinfo: 8
 Scheduling information.
   unsigned   ntd: 8
 Number of transfer descriptors.
   unsigned   reserved16_28: 13
 Data packets to transfer.
   unsigned   pid: 2
 Packet ID for next data packet 0: DATA0 1: DATA2 2: DATA1 3: MDATA (non-Control).
   unsigned   dopng: 1
 Do PING protocol when 1.
b_ddma
 register bits


Detailed Description

This union represents the bit fields in the Host Channel Transfer Size Register.

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

Definition at line 2019 of file dwc_otg_regs.h.


Field Documentation

unsigned hctsiz_data::ntd

Number of transfer descriptors.

Max value: 64 in general, 256 only for HS isochronous endpoint.

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