#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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.