/* Get an interface alternate setting. 
The function is used to get an interface alternate setting. */
usb_status_t USB_DeviceGetInterface(usb_device_handle handle, uint8_t interface, uint8_t *alternateSetting)
/* Get an interface alternate setting. 
The function is used to get an interface alternate setting. */
usb_status_t USB_DeviceGetInterface(usb_device_handle handle, uint8_t interface, uint8_t *alternateSetting)
{
    *alternateSetting = g_interface[interface];
    return kStatus_USB_Success;
}