⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usbh.h

📁 USB Host在嵌入式系统中的实现.包括所有源代码.
💻 H
字号:
/*
 *  Start of Zoran Standard Header
 *  Copyright (c) 2003 Zoran Corporation
 *  
 *  
 *  All rights reserved.  Proprietary and confidential.
 *  
 *  DESCRIPTION for usbh.h
 *  	Include for USB host / PTP interface
 *  
 *  NEW HISTORY COMMENT (description must be followed by a blank line)
 *  <Enter change description here>

 *  ===== HISTORY of changes in //depot/misc/projects/tps/incl/usbh.h
 *  
 *  12/Jan/04 #35 JCogan, porting to the 4100 Reference platform.
 *                          Previous comments removed.
 *  
 *  
 *  
 *  End of Zoran Standard Header
 */
#ifndef USBH_INCLUDED
#define USBH_INCLUDED

typedef enum {
    PTP_USB_OK,
    PTP_USB_NAK,
    PTP_USB_D_CANCEL,
    PTP_USB_H_CANCEL,
    PTP_USB_ERROR,
    PTP_USB_GONE
} PTPIO_RETN;


PTPIO_RETN PTP_USB_Read(Uint32 UniqueDeviceID,Uint8* Buf,Uint32 Size,Uint32 *retCount);
PTPIO_RETN PTP_USB_Write(Uint32 UniqueDeviceID,Uint8 *Buf,Uint32 Size);
PTPIO_RETN PTP_USB_ReadInterrupt(Uint32 UniqueDeviceID,Uint8 *Buf,Uint32 Size,Uint32 *retCount);

#endif /* USBH_INCLUDED*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -