tagaddrs.h
来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· C头文件 代码 · 共 39 行
H
39 行
// Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved.
#ifndef __TAGADDRS__
#define __TAGADDRS__
#endif
#ifdef __KERNINST__
// Virtual mapped address
#define AMC_CTRL_PORT_ADDR ((LPVOID)0xAF000000)
#define AMC_DATA_PORT_ADDR ((LPVOID)0xAF000004)
#else // __KERNINST__
// Physical address
#define AMC_CTRL_PORT_ADDR ((LPVOID)0xDE000000)
#define AMC_DATA_PORT_ADDR ((LPVOID)0xDE000004)
#ifdef __cplusplus
extern "C" {
#endif
//=============
// TYPEDEFS
//=============
typedef unsigned long _amc_tag_t;
//=======================
// EXPORTED GLOBAL VARS
//=======================
// to be initialize in tagaddrs.c
__declspec(dllexport) volatile _amc_tag_t* amc_ctrl_port;
__declspec(dllexport) volatile _amc_tag_t* amc_data_port;
#ifdef __cplusplus
}
#endif
#endif // __KERNINST__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?