s3c2443_memctrl.h

来自「2443 wince5.0 bsp, source code」· C头文件 代码 · 共 61 行

H
61
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
//  Header:  s3c2443_memctrl.h
//
//  Defines the memory controller register layout and associated 
//  constants and types.
//
#ifndef __S3C2443_MEMCTRL_H
#define __S3C2443_MEMCTRL_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  Type:  S3C2443_MEMCTRL_REG    
//
//  Memory controller register layout. This register bank is located by the 
//  constant S3C2443_REG_BASE_XX_MEMCTRL in the configuration file 
//  s3c2443_base_reg_cfg.h.
//

typedef struct  {
    UINT32 BWSCON;              // bus width & wait status control reg  
    UINT32 BANKCON0;            // bank 0 control reg
    UINT32 BANKCON1;            // bank 1 control reg
    UINT32 BANKCON2;            // bank 2 control reg
    UINT32 BANKCON3;            // bank 3 control reg
    UINT32 BANKCON4;            // bank 4 control reg
    UINT32 BANKCON5;            // bank 5 control reg

    /*
    UINT32 BANKCON6;            // bank 6 control reg
    UINT32 BANKCON7;            // bank 7 control reg
    UINT32 REFRESH;             // SDRAM refresh control reg
    UINT32 BANKSIZE;            // Flexible bank size reg
    UINT32 MRSRB6;              // Mode reg set reg bank6
    UINT32 MRSRB7;              // mode reg set reg bank7
    */

} S3C2443_MEMCTRL_REG, *PS3C2443_MEMCTRL_REG;

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

#if __cplusplus
}
#endif

#endif 

⌨️ 快捷键说明

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