Data Structures
Here are the data structures with brief descriptions:
 CDEPCMDPARRegs
 CDeviceInfo
 CDWCUSBRegs
 CtConfigHeader
 CtConfigSection
 CtCustomHandlers
 CtEventInfo
 CtFIFOConfig
 CtFIFOEntry
 CtMSCDMediaThis structure contains the media access functions to be used by the MSC class driver
 CtMSCInstanceThis structure defines the private instance data and state variables for the mass storage class. The memory for this structure is pointed to by the psPrivateData field in the tUSBDMSCDevice structure passed on USBDMSCInit() and should not be modified by any code outside of the mass storage device code
 CTRBRegs
 CtUSBBuffer
 CtUSBDMSCDeviceThe structure used by the application to define operating parameters for the mass storage device
 CtUSBHostClassDriver
 CtUSBHostDevice
 CtUSBRingBufObject
 CUSB_ConfigUSB Global configuration
 CUSB_FxnTableThe definition of a USB function table that contains the required set of functions to control a specific USB driver implementation
 CUSB_ParamsBasic USB Parameters
 CusbClassActionGadget action object structure which compiles a list of actions that can be performed on any USB function or pGadget. These functions would be called by the gadget driver
 CusbClassObjThis structure defines the generic USB class object which is used by the protocol layer ot interact with the required class driver. The class needs to register with the protocol layer before this object can be used
 CusbConfigDescStructure defining USB Configuration Descriptor
 CusbConfigHeaderThis is the top level structure defining a USB device configuration descriptor. A configuration descriptor contains a collection of device- specific descriptors in addition to the basic config, interface and endpoint descriptors. To allow flexibility in constructing the configuration, the descriptor is described in terms of a list of data blocks. The first block must contain the configuration descriptor itself and the following blocks are appended to this in order to produce the full descriptor sent to the host in response to a GetDescriptor request for the configuration descriptor
 CusbConfigSectionDeclaration of Generic usb request
 CusbDcd
 CusbDEpTrbThis structure defines the bit fields required for USB endpoint TRB
 CusbDescHeaderStructure defining descriptor Header
 CusbDescriptorUSB descriptor structure which presents a combined view of all descriptors used by a gadget/host. This data structure is common to both host and device stacks.In the host case , the protocol core would copy the descriptors received by the host into this structure. In the gadget stack , the function/gadget driver populates this structure
 CusbDevCharaFunction pointer to function which is used by the core to set device charectristics such as device speed, device address,Number of endpoints required and their endpoint numbers. Fifo config must be done by dcd
 CusbDevCoreCallbackDevice object core call back functions which would be used by dcds to to communicate with the device protocol core - (device manager block being a part of it)
 CusbDevDcdActionDcd driver actions Structure which collates all actions required by the dcds to implement The protocol core call these actions to generate USB traffic
 CusbDevEndptInfoThis structure defines the configurable paramters of an endpoint. The protocol core is expected to call the config routine with this structure populated as many times as there are endpoints
 CusbDevEvtStructure containing information regarding events that can be raised by the device control driver
 CusbDeviceDescStructure defining USB Device Descriptor
 CusbDevRequestUSB request structure which encapsulates information required by the dcd to genererate USB traffic
 CusbDmaEvtStructure containing information regarding system DMA events
 CusbDwcDcdDEpCmdParmsDevice physical endpoint Command parameters
 CusbDwcDcdDEpEvntThis structure contains the device endpoint specific event details
 CusbDwcDcdDeviceDwc3 device object used by the DWC3 driver
 CusbDwcDcdDEvntThis structure contains the device specific event buffer details
 CusbDwcDcdEvntThis union contains the Event buffer description. The events can be of two types:
 CusbEndpointDescStructure defining USB Endpoint Descriptor
 CusbGadgetObjDevice object structure which holds information related to a particular device controller - which assumes the role of one device
 CusbInterfaceDescStructure defining USB Interface Descriptor
 CUSBLIB_PACKEDThis structure is used to access the Command Block wrapper (CBW) data structure that is used when the communicating with the mass storage class device
 CusbMusbDcdDeviceMusb device object used by the MUSB driver
 CUSBOTGSSC2WRAPPERRegs
 CusbSetupPktStructure defining USB Setup Packet
 CusbssEndptCompanionDescStructure defining USB SS Endpoint companion Descriptor
 CusbString0DescThis structure describes the USB string descriptor for index 0 as defined in USB 2.0 specification section 9.6.7. Note that the number of language IDs is variable and can be determined by examining bLength. The number of language IDs present in the descriptor is given by ((bLength - 2) / 2)
 CusbWrapIntrObjStructure detailing HW ISR - Reason for HW interrupt and the source
 CusbWrapParamsStructure holding the details of the wrapper implementation
 CusbWrapperStructure holding the details of the wrapper implementation

Copyright 2016, Texas Instruments Incorporated