#include <RTL.h>
#include <rl_usb.h>
void usbd_connect (
BOOL con // Connect or Disconnect the USB Device to the USB bus
);
Description
The function usbd_connect connects or disconnect the USB
device controller to the bus. Invoke usbd_connect with
con set to 1 (__TRUE) to ensure that the host can
recognize the device.
Valid values for con are:
0 or (__FALSE) to disconnect the USB Device.
1 or (__TRUE) to connect the USB Device.
The function usbd_connect is part of the USB Device Core
Driver layer of the RL-USB Device Software Stack.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.