3.2.4.32 USB_HOST_EVENT Enumeration
C
typedef enum { USB_HOST_EVENT_DEVICE_REJECTED_INSUFFICIENT_POWER, USB_HOST_EVENT_DEVICE_UNSUPPORTED, USB_HOST_EVENT_HUB_TIER_LEVEL_EXCEEDED, USB_HOST_EVENT_PORT_OVERCURRENT_DETECTED } USB_HOST_EVENT;
Summary
USB Host Events
This data type defines the different events that USB Host Layer can generate. The application is intended recipient of these events. Some events return event related data. The application must register an event handler with the host layer (via the USB_HOST_EventHandlerSet() function) before enabling any of the buses.
Members
Members | Description |
USB_HOST_EVENT_DEVICE_REJECTED_INSUFFICIENT_POWER | This event occurs when device needs more current than what the host can supply. |
USB_HOST_EVENT_DEVICE_UNSUPPORTED | This event occurs when a host layer could not attach any drivers to the attached device or when an error has occurred. There is no event data associated with this event. |
USB_HOST_EVENT_HUB_TIER_LEVEL_EXCEEDED | This event occurs when the number of hubs connected to the host exceeds the configured maximum number of hubs USB_HOST_HUB_TIER_LEVEL. There is no event data associated with this event. |
USB_HOST_EVENT_PORT_OVERCURRENT_DETECTED | This event occurs when an over-current condition is detected at the root hub or an external hub port. |
Remarks
None.