/* USB Device Set Address Function Parameters: adr: USB Device Address setup: Called in setup stage (!=0), else after status stage Return Value: None  */
void USBD_SetAddress(U32 adr, U32 setup)
/* USB Device Set Address Function Parameters: adr: USB Device Address setup: Called in setup stage (!=0), else after status stage Return Value: None  */
void USBD_SetAddress(U32 adr, U32 setup)
{
    if (setup) {
        return;
    }
    DADDR = DADDR_EF | adr;
}