?? zl5011xmmmap.h
字號:
/*******************************************************************************
*
* File name: zl5011xMmMap.h
*
* Version: 10
*
* Author: PJE
*
* Date created: 03/04/2002
*
* Copyright 2002, 2003, 2004, 2005, Zarlink Semiconductor Limited.
* All rights reserved.
*
* Module Description:
*
*
* Revision History:
*
* Rev: Date: Author: Comments:
* 1 03/04/2002 PJE Creation
* 2 03/04/2002 PJE Bit twiddling done
* 3 04/04/2002 PJE Bit twiddling - some corrections
* 4 13/06/2002 PJE Added alloc fns
* 5 14/06/2002 PJE Update
* 6 18/07/2002 MRC Added min heap size
* 7 18/07/2002 MRC Added define for alloc granularity
* 8 25/10/2002 PJE API tidy up
* 9 31/10/2002 MRC Added variants + minor fixes
* 10 22/01/2003 MRC Added burst length defines
*
*******************************************************************************/
#ifndef _ZL5011X_MM_MAP_H_
#define _ZL5011X_MM_MAP_H_
#ifdef __cplusplus
extern "C" {
#endif
/***************** # DEFINES **********************************************/
/* addresses for the registers */
#define ZL5011X_MM_GRNBASE ZL5011X_MM_BASE + 0x00000 /* Base address of granule data */
#define ZL5011X_MM_GRNDESBASE ZL5011X_MM_BASE + 0x00004 /* Base of granule descriptor mem */
#define ZL5011X_MM_BURSTL ZL5011X_MM_BASE + 0x00008 /* Burst Length (2 to 8) */
#define ZL5011X_MM_EMEMENB ZL5011X_MM_BASE + 0x00014 /* External Memory enable */
#define ZL5011X_MM_EMEMPARITY1 ZL5011X_MM_BASE + 0x00024 /* External Memory Parity */
#define ZL5011X_MM_EMEMPARITY2 ZL5011X_MM_BASE + 0x00028 /* Parity Error Interrupt Trip Point */
#define ZL5011X_MM_EMEMPTYCNT ZL5011X_MM_BASE + 0x0002C /* Parity Failure & Failure Count */
/* DEFINES for bits in the register ZL5011X_MM_EMEMPTYCNT */
#define ZL5011X_MM_PARITY_FAIL_COUNT_LSB 1
/* DEFINES for bits in the register ZL5011X_MM_GRNBASE & ZL5011X_MM_GRNDESBASE */
#define ZL5011X_MM_GRNBASE_MASK 0x00FF8000
/* DEFINES for bits in the register ZL5011X_MM_BURSTL */
#define ZL5011X_MM_MIN_BURST_LENGTH 2
#define ZL5011X_MM_MAX_BURST_LENGTH 8
#define ZL5011X_MM_DEFAULT_BURST_LENGTH 4
/* DEFINES for bits in the register ZL5011X_MM_EMEMPARITY1 */
#define ZL5011X_MM_EVEN_PARITY_BITS 0x00000003
/* DEFINES for bits in the register ZL5011X_MM_EMEMPARITY2 */
#define ZL5011X_EMEMPARITY2_LIMIT 0x0000000F
/* set the minimum heap size that can be programmed */
#define ZL5011X_MM_MIN_HEAP_SIZE 0x100
#define ZL5011X_MM_GRANULARITY_MASK ((Uint32T)0x7)
/***************** DATA TYPES *********************************************/
/***************** DATA STRUCTURES ****************************************/
/***************** EXPORTED GLOBAL VARIABLE DECLARATIONS ******************/
#ifdef __cplusplus
}
#endif
#endif /* _ZL5011X_MM_MAP_H_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -