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

📄 dtcm_drv.h.svn-base

📁 Spearhead2000 的 USB驱动程序
💻 SVN-BASE
字号:
/*****************************************************************************//* This confidential and proprietary software may be used only as authorized *//* by a licensing agreement from STMicroelectronics.                         *//* In the event of publication, the following notice is applicable:          *//*                                                                           *//*                   (C) COPYRIGHT 2002 STMicroelectronics                   *//*                Innovative Systems Design Group - Central R&D              *//*                            ALL RIGHTS RESERVED                            *//*                                                                           *//* The entire notice above must be reproduced on all authorized copies.      *//*                                                                           *//* -- File:                  dtcm_drv.h                                      *//* -- Author:                Christian Gazzina  <christian.gazzina@st.com>   *//* -- Description:           Header Driver for DTCM memories                 *//*                                                                           *//* -- Modification History: - 1.1 (21/09/2004)                               *//*****************************************************************************/// $Id: dtcm_drv.h,v 1.1 2005/06/27 14:15:39 sp_head Exp $// $Log: dtcm_drv.h,v $// Revision 1.1  2005/06/27 14:15:39  sp_head// apb_configuration.h//// Revision 1.1.1.2  2004/12/03 15:34:24  spear// First import from CRD//// Revision 1.1.1.1  2004/12/02 11:07:22  spear// First import from CRD//// //  Revision: 1.1 Tue Nov 23 10:14:06 2004 gazzina//  first release// #ifndef __dtcm_drv__#define __dtcm_drv__#define DTCM_Base 0x02000000// 16KB#define DTCM_MEMORY_SIZE_WORD       4096#define DTCM_MEMORY_SIZE_BYTE      16384typedef struct DTCM_Memory_WORD{   unsigned int cell[DTCM_MEMORY_SIZE_WORD];} DTCM_Memory_WORD;typedef struct DTCM_Memory_BYTE{   unsigned char cell[DTCM_MEMORY_SIZE_BYTE];} DTCM_Memory_BYTE;#define DTCMCntl_WORD ((volatile struct DTCM_Memory_WORD*)(DTCM_Base))#define DTCMCntl_BYTE ((volatile struct DTCM_Memory_BYTE*)(DTCM_Base))#endif

⌨️ 快捷键说明

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