pxa255_memc.h

来自「老外的一个开源项目」· C头文件 代码 · 共 63 行

H
63
字号
// Copyright (c) David Vescovi.  All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------------------------
//
//  Header:  pxa255_memc.h
//
//  Defines the memory controller register layout and associated 
//  constants and types.
//
//------------------------------------------------------------------------------
#ifndef _PXA255_MEMC_H_
#define _PXA255_MEMC_H_

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  Type:  MEMCTRL_REG_T    
//
//  Memory controller register layout.
//
//------------------------------------------------------------------------------

typedef struct
{
	VUINT32_T	MDCNFG;
	VUINT32_T	MDREFR;
	VUINT32_T	MSC0;
	VUINT32_T	MSC1;
	VUINT32_T	MSC2;
	VUINT32_T	MECR;
	VUINT32_T	SXLCR;
	VUINT32_T	SXCNFG;
	VUINT32_T	FLYCNFG;
	VUINT32_T	SXMRS;
	VUINT32_T	MCMEM0;
	VUINT32_T	MCMEM1;
	VUINT32_T	MCATT0;
	VUINT32_T	MCATT1;
	VUINT32_T	MCIO0;
	VUINT32_T	MCIO1;
	VUINT32_T	MDMRS;
	VUINT32_T	BOOT_DEF;
	VUINT32_T	MDMRSLP;
	VUINT32_T	SA1111CR;
} MEMC_REG_T, *PMEMC_REG_T;

#define MECR_NOS    	0x00000001
#define MECR_CIT    	0x00000002

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

#if __cplusplus
}
#endif

#endif 

⌨️ 快捷键说明

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