📄 shkdef.h
字号:
/************************************************** * * * CVS ID: $Id: shkdef.h,v 1.2 2006/04/26 17:59:53 kutik Exp $ * Author: Maurizio Marcucci [MM] - STM * Date: $Date: 2006/04/26 17:59:53 $ * Revision: $Revision: 1.2 $ * * Description: * * Accordo+ Hardware registers definition * *************************************************** * * COPYRIGHT (C) ST Microelectronics 2005 * All Rights Reserved * ***************************************************/// Bank Configuration Registertypedef struct{ UInt sdramcol : 2; //bit 0-1 UInt idletime : 3; //bit 2-4 UInt setuptime : 3; //bit 5-7 UInt datalat : 2; //bit 8-9 UInt devwid : 2; //bit 10-11 UInt : 20;//bit 12-31 } SDRAM_MBCONFIG_STRUCT;typedef union{ SDRAM_MBCONFIG_STRUCT field; uint32 all;} SDRAM_MBCONFIG_UNION;// Bank SDRAM Configuration Register Hightypedef struct{ UInt ras : 1; // Bit 0 UInt cas : 1; // Bit 1 UInt we : 1; // Bit 2 UInt : 29; // Bit 29} SDRAM_CONFIG_HI_STRUCT;typedef union{ SDRAM_CONFIG_HI_STRUCT field; uint32 all;} SDRAM_CONFIG_HI_UNION;// Memory Configuration Registertypedef struct{ UInt refr : 8; // Bit 0-7 UInt ben : 1; // Bit 8 UInt : 4; // Bit 9-12 UInt pwrsave : 1; // Bit 13 UInt : 18; // Bit 19} SDRAM_MEM_CONFIG_STRUCT;typedef union{ SDRAM_MEM_CONFIG_STRUCT field; uint32 all;} SDRAM_MEM_CONFIG_UNION;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -