The function usbd_configured retrieves the configuration
status of the USB Device. It helps determining whether the USB Device
is configured and ready for communication.
The function is part of the USB Device Core Driver layer of the
RL-USB Software Stack.
#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
..
}
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.