usbDescrCopyLib.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* usbDescrCopyLib.h - USB descriptor copy utility functions */
- /* Copyright 2000 Wind River Systems, Inc. */
- /*
- Modification history
- --------------------
- 01b,13apr00,wef fixed #ifndef bug
- 01a,05apr00,wef First -removed these functions from usbLib.c to decouple host /
- peripheral stack interdependency.
- */
- #ifndef __INCusbDescrCopyLibh
- #define __INCusbDescrCopyLibh
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* includes */
- #include "usb/usb.h"
- /* function prototypes */
- VOID usbDescrCopy
- (
- pUINT8 pBfr, /* destination buffer */
- pVOID pDescr, /* source buffer */
- UINT16 bfrLen, /* dest len */
- pUINT16 pActLen /* actual length copied */
- );
- VOID usbDescrCopy32
- (
- pUINT8 pBfr, /* destination buffer */
- pVOID pDescr, /* source buffer */
- UINT32 bfrLen, /* dest len */
- pUINT32 pActLen /* actual length copied */
- );
- VOID usbDescrStrCopy
- (
- pUINT8 pBfr, /* destination buffer */
- char *pStr, /* source buffer */
- UINT16 bfrLen, /* dest len */
- pUINT16 pActLen /* actual length copied */
- );
- VOID usbDescrStrCopy32
- (
- pUINT8 pBfr, /* destination buffer */
- char *pStr, /* source buffer */
- UINT32 bfrLen, /* dest len */
- pUINT32 pActLen /* actual length copied */
- );
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCusbDescrCopyLibh*/
- /* End of file. */