📄 usbotg.h
字号:
/******************************************************************************
**
** COPYRIGHT (C) 2000 - 2003 Intel Corporation.
**
** This software as well as the software described in it is furnished under
** license and may only be used or copied in accordance with the terms of the
** license. The information in this file is furnished for informational use
** only, is subject to change without notice, and should not be construed as
** a commitment by Intel Corporation. Intel Corporation assumes no
** responsibility or liability for any errors or inaccuracies that may appear
** in this document or any software that may be provided in association with
** this document.
** Except as permitted by such license, no part of this document may be
** reproduced, stored in a retrieval system, or transmitted in any form or by
** any means without the express written consent of Intel Corporation.
**
** FILENAME: UsbOTG.h
**
** PURPOSE: This file contains the tests for USB OTG controller as well as
** routines to test communication with Phillips ISP1301 USB OTG Transeiver
** via I2C interface.
**
** LAST MODIFIED: $Modtime: 7/17/03 1:01p $
**
******************************************************************************/
#ifndef _UsbOTG_h
#define _UsbOTG_h
/*
************************************************************************************
* CONSTANTS
************************************************************************************
*/
#define ERR_S_USBOTG_DUMP_REG 0x80 // Test code used by USB OTR Dump Registers Test
#define USB_OTG_VENDOR_ID 0x04CC // Vendor ID expected to be read
// from Vendor ID register
#define USB_OTG_PRODUCT_ID 0x1301 // Product ID expected to be read
// from Product ID register
/*
************************************************************************************
* FUNCTION PROTOTYPES
************************************************************************************
*/
VOID UsbOTGDumpRegistersI2CTest (PVOID ctxp, PCHAR param);
VOID UsbOTGEnableDebugMode (PVOID ctxp, PCHAR param);
VOID UsbOTGReadRegisterI2CTest (PVOID ctxp, PCHAR param);
VOID UsbOTGWriteRegisterI2CTest (PVOID ctxp, PCHAR param);
#endif // _UsbOTG_h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -