- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to know the trigger timing of the CY_U3P_USB_EVENT_CONNECT.
Is it triggered right after the USB connectors being plugged in or it is triggered after the enumeration process is done?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use CY_U3P_USB_EVENT_SETCONF to determine the enumeration is done and device is configured
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CY_U3P_USB_EVENT_CONNECT happens on both USB 3.0 connection and USB 2.0 connection.
This event trigger when there is a connection established between host and device, later the enumeration process takes place.
Hence, CY_U3P_USB_EVENT_CONNECT triggers right afetr the USB connector being plugged.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply.
Is there any event to be used to determine whether the enumeration process is done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use CY_U3P_USB_EVENT_SETCONF to determine the enumeration is done and device is configured