USBLibAPIGuide  1.00.00.01
Data Structures | Macros | Enumerations | Functions
usbhostpriv.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tUSBHostDevice
 

Macros

#define USBHCD_EVFLAG_SOF   0x00000001
 
#define USBHCD_EVFLAG_CONNECT   0x00000002
 
#define USBHCD_EVFLAG_UNKCNCT   0x00000004
 
#define USBHCD_EVFLAG_DISCNCT   0x00000008
 
#define USBHCD_EVFLAG_PWRFAULT   0x00000010
 
#define USBHCD_EVFLAG_PWRDIS   0x00000020
 
#define USBHCD_EVFLAG_PWREN   0x00000040
 

Enumerations

enum  tHubPortState {
  ePortIdle, ePortConnected, ePortResetActive, ePortResetWait,
  ePortActive, ePortEnumerated, ePortError
}
 

Functions

uint32_t USBHCDHubDeviceConnected (uint32_t ui32Index, uint8_t ui8Hub, uint8_t ui8Port, uint32_t ui32Speed)
 
void USBHCDHubDeviceDisconnected (uint32_t ui32Index, uint32_t ui32DevIndex)
 
void USBHHubMain (void)
 
void USBHHubInit (void)
 
void USBHHubEnumerationComplete (uint8_t ui8Hub, uint8_t ui8Port)
 
void USBHHubEnumerationError (uint8_t ui8Hub, uint8_t ui8Port)
 
uint32_t USBHCDLPMSleep (tUSBHostDevice *psDevice)
 
uint32_t USBHCDLPMStatus (tUSBHostDevice *psDevice)
 

Macro Definition Documentation

§ USBHCD_EVFLAG_SOF

#define USBHCD_EVFLAG_SOF   0x00000001

§ USBHCD_EVFLAG_CONNECT

#define USBHCD_EVFLAG_CONNECT   0x00000002

§ USBHCD_EVFLAG_UNKCNCT

#define USBHCD_EVFLAG_UNKCNCT   0x00000004

§ USBHCD_EVFLAG_DISCNCT

#define USBHCD_EVFLAG_DISCNCT   0x00000008

§ USBHCD_EVFLAG_PWRFAULT

#define USBHCD_EVFLAG_PWRFAULT   0x00000010

§ USBHCD_EVFLAG_PWRDIS

#define USBHCD_EVFLAG_PWRDIS   0x00000020

§ USBHCD_EVFLAG_PWREN

#define USBHCD_EVFLAG_PWREN   0x00000040

Referenced by USB0_IRQOTGModeHandler().

Enumeration Type Documentation

§ tHubPortState

Enumerator
ePortIdle 
ePortConnected 
ePortResetActive 
ePortResetWait 
ePortActive 
ePortEnumerated 
ePortError 
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale