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

📄 omap2420_usbh.h

📁 Windows CE 6.0 BSP for the Beagle Board.
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
//------------------------------------------------------------------------------
//
//  File:  omap2420_usbh.h
//
#ifndef __OMAP2420_USBH_H
#define __OMAP2420_USBH_H

//------------------------------------------------------------------------------

typedef volatile struct {
    UINT32 HC_REVISION;                 // 0000
    UINT32 HC_CONTROL;                  // 0004
    UINT32 HC_COMMAND_STATUS;           // 0008
    UINT32 HC_INTERRUPT_STATUS;         // 000C
    UINT32 HC_INTERRUPT_ENABLE;         // 0010
    UINT32 HC_INTERRUPT_DISABLE;        // 0014
    UINT32 HC_HCCA;                     // 0018
    UINT32 HC_PERIOD_CURRENT_ED;        // 001C
    UINT32 HC_CONTROL_HEAD_ED;          // 0020
    UINT32 HC_CONTROL_CURRENT_ED;       // 0024
    UINT32 HC_BULK_HEAD_ED;             // 0028
    UINT32 HC_BULK_CURRENT_ED;          // 002C
    UINT32 HC_DONE_HEAD;                // 0030
    UINT32 HC_FM_INTERVAL;              // 0034
    UINT32 HC_FM_REMAINING;             // 0038
    UINT32 HC_FM_NUMBER;                // 003C
    UINT32 HC_PERIODIC_START;           // 0040
    UINT32 HC_LS_THRESHOLD;             // 0044
    UINT32 HC_RH_DESCRIPTOR_A;          // 0048
    UINT32 HC_RH_DESCRIPTOR_B;          // 004C
    UINT32 HC_RH_STATUS;                // 0050
    UINT32 HC_RH_PORT_STATUS[15];       // 0054  - note that the OMAP2420 only has 3 ports defined.
										//         but the MDD allocates space for 15 ports, so be
										//         conservative and map sufficient space.
} OMAP2420_USBH_REGS;

//------------------------------------------------------------------------------

#endif // __OMAP2420_USBH_H

⌨️ 快捷键说明

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