/* Get Configuration USB Device Request Parameters: None Return Value: TRUE - Success, FALSE - Error  */
static BOOL USBD_ReqGetConfiguration(void)
/* Get Configuration USB Device Request Parameters: None Return Value: TRUE - Success, FALSE - Error  */
static BOOL USBD_ReqGetConfiguration(void)
{
    switch (USBD_SetupPacket.bmRequestType.Recipient) {
        case REQUEST_TO_DEVICE:
            USBD_EP0Data.pData = &USBD_Configuration;
            break;
        default:
            return (__FALSE);
    }
    return (__TRUE);
}