/* Get Interface USB Request Parameters: None (global SetupPacket) Return Value: TRUE - Success, FALSE - Error  */
static uint32_t USB_ReqGetInterface(void)
/* Get Interface USB Request Parameters: None (global SetupPacket) Return Value: TRUE - Success, FALSE - Error  */
static uint32_t USB_ReqGetInterface(void)
{
    case REQUEST_TO_INTERFACE:
      if ((USB_Configuration != 0) && (SetupPacket.wIndex.WB.L < USB_NumInterfaces)) {
        EP0Data.pData = USB_AltSetting + SetupPacket.wIndex.WB.L;
      } else {
        return (FALSE);
      }
      break;
    default:
      return (FALSE);
  }
  return (TRUE);
}