/* USB Device Set Address Function Parameters: adr: USB Device Address Return Value: None  */
void USBD_SetAddress(U32 adr, U32 setup)
/* USB Device Set Address Function Parameters: adr: USB Device Address Return Value: None  */
void USBD_SetAddress(U32 adr, U32 setup)
{
    if (!setup) {
        LPC_USB->DEVCMDSTAT &= ~0x7F;
        LPC_USB->DEVCMDSTAT |= adr | (1UL << 7);
    }
}