/* USB_OTG_IsDeviceMode : Check if it is device mode.  */
uint8_t USB_OTG_IsDeviceMode(USB_OTG_CORE_HANDLE *pdev)
/* USB_OTG_IsDeviceMode : Check if it is device mode.  */
uint8_t USB_OTG_IsDeviceMode(USB_OTG_CORE_HANDLE *pdev)
{
  return (USB_OTG_GetMode(pdev) != HOST_MODE);
}