usb_prop.c
/*******************************************************************************
* Function Name  : Virtual_Com_Port_Get_Interface_Setting.
* Description    : test the interface and the alternate setting according to the
*                  supported one.
* Input1         : u8: Interface : interface number.
* Input2         : u8: AlternateSetting : Alternate Setting number.
* Output         : None.
* Return         : The address of the string descriptors.
*******************************************************************************/
Function Name  : Virtual_Com_Port_Get_Interface_Setting.
Description    : test the interface and the alternate setting according to the
supported one.
Input1         : u8: Interface : interface number.
Input2         : u8: AlternateSetting : Alternate Setting number.
Output         : None.
Return         : The address of the string descriptors.
Function Name : Virtual_Com_Port_Get_Interface_Setting . Description : test the interface and the alternate setting according to the supported one . Input1 : u8 : Interface : interface number . Input2 : u8 : AlternateSetting : Alternate Setting number . Output : None . Return : The address of the string descriptors .
RESULT Virtual_Com_Port_Get_Interface_Setting(u8 Interface, u8 AlternateSetting)
{
  if (AlternateSetting > 0)
  {
    return USB_UNSUPPORT;
  }
  else if (Interface > 1)
  {
    return USB_UNSUPPORT;
  }
  return USB_SUCCESS;
}
RESULT Virtual_Com_Port_Get_Interface_Setting ( u8 Interface , u8 AlternateSetting ) { if ( AlternateSetting > 0 ) { return USB_UNSUPPORT ; } else if ( Interface > 1 ) { return USB_UNSUPPORT ; } return USB_SUCCESS ; }
Function Name  : Virtual_Com_Port_Get_Interface_Setting.
Function Name : Virtual_Com_Port_Get_Interface_Setting .
//TxDString("Virtual_Com_Port_Get_Interface_Setting\r\n");