USBLibAPIGuide  1.00.00.01
Data Fields
tUSBDDFUDevice Struct Reference

#include <usbddfu-rt.h>

Collaboration diagram for tUSBDDFUDevice:
Collaboration graph
[legend]

Data Fields

const tUSBCallback pfnCallback
 
void *const pvCBData
 
tDFUInstance sPrivateData
 

Detailed Description

The structure used by the application to define operating parameters for the DFU device. Note that, unlike all other devices, this structure does not contain any fields which configure the device descriptor sent back to the host. The DFU runtime device class must be used as part of a composite device since all it provides is the capability to signal the device to switch into DFU mode in preparation for a firmware upgrade. Creating a device with nothing but DFU runtime mode capability is rather pointless so this is not supported.

Field Documentation

§ pfnCallback

const tUSBCallback tUSBDDFUDevice::pfnCallback

A pointer to the callback function which will be called to notify the application of DETACH requests.

§ pvCBData

void* const tUSBDDFUDevice::pvCBData

A client-supplied pointer which will be sent as the first parameter in all calls made to the pfnCallback function.

§ sPrivateData

tDFUInstance tUSBDDFUDevice::sPrivateData

The private instance data for this device class. This memory must remain accessible for as long as the DFU device is in use and must not be modified by any code outside the DFU class driver.

Referenced by USBDDFUCompositeInit().


The documentation for this struct was generated from the following file:
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale