The function usbd_configured is used for retrieving the
configuration status of the USB Device, it is helpful for determining
when the USB Device has been configured so it can start using class
specific communication on the USB bus.
The usbd_configured function is part of the USB Device Core
Driver layer of the RL-USB Software Stack.
Return Value
A boolean value indicating whether the USB Device is in configured
state.
#include <RTL.h>
#include <rl_usb.h>
int main (void) {
..
usbd_init (); // USB Device Initialize
usbd_connect (__TRUE); // USB Device Connect
..
while (!usbd_configured()); // Wait for USB Device to configure
..
}
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.