Sep 28, 2021
10:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 28, 2021
10:51 PM
I'm using the xmc4800 mcu. and usb vcom.
in usb vcom, i want to know the usb cable is connected or disconnected status.
How can I figure out ?
in usb vcom, i want to know the usb cable is connected or disconnected status.
How can I figure out ?
Solved! Go to Solution.
1 Solution
Oct 17, 2021
11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2021
11:43 PM
Hi @mind10,
You can use the API "XMC_USBD_STATUS_t XMC_USBD_DeviceConnect ( void ) " and check for the different return values. You can read about the API in detail here : -> Open DAVE -> Help -> Help Contents -> XMC Library Documentation -> XMC 4.0.0 -> Modules -> USBD. Please follow this and let us know in case of any query.
Best Regards,
Aashita
You can use the API "XMC_USBD_STATUS_t XMC_USBD_DeviceConnect ( void ) " and check for the different return values. You can read about the API in detail here : -> Open DAVE -> Help -> Help Contents -> XMC Library Documentation -> XMC 4.0.0 -> Modules -> USBD. Please follow this and let us know in case of any query.
Best Regards,
Aashita
1 Reply
Oct 17, 2021
11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2021
11:43 PM
Hi @mind10,
You can use the API "XMC_USBD_STATUS_t XMC_USBD_DeviceConnect ( void ) " and check for the different return values. You can read about the API in detail here : -> Open DAVE -> Help -> Help Contents -> XMC Library Documentation -> XMC 4.0.0 -> Modules -> USBD. Please follow this and let us know in case of any query.
Best Regards,
Aashita
You can use the API "XMC_USBD_STATUS_t XMC_USBD_DeviceConnect ( void ) " and check for the different return values. You can read about the API in detail here : -> Open DAVE -> Help -> Help Contents -> XMC Library Documentation -> XMC 4.0.0 -> Modules -> USBD. Please follow this and let us know in case of any query.
Best Regards,
Aashita