USBLibAPIGuide  1.00.00.01
Data Fields
tEventInfo Struct Reference

#include <usblib.h>

Data Fields

uint32_t ui32Event
 One of the USB_EVENT_ values. More...
 
uint32_t ui32Instance
 The caller supplied instance value that is passed to event handlers. More...
 

Detailed Description

This structure is used to return generic event based information to an application. The following events are currently supported: USB_EVENT_CONNECTED, USB_EVENT_DISCONNECTED, USB_EVENT_POWER_FAULT, USB_EVENT_POWER_FAULT, USB_EVENT_POWER_ENABLE, USB_EVENT_POWER_DISABLE and USB_EVENT_SOF.

Field Documentation

§ ui32Event

uint32_t tEventInfo::ui32Event

One of the USB_EVENT_ values.

Referenced by USB0_IRQOTGModeHandler().

§ ui32Instance

uint32_t tEventInfo::ui32Instance

The caller supplied instance value that is passed to event handlers.

Referenced by USB0_IRQOTGModeHandler().


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