?? zl5011xgmmap.h
字號:
/*******************************************************************************
*
* File name: zl5011xGmMap.h
*
* Version: 3
*
* Author: MRC
*
* Date created: 04/04/2002
*
* Copyright 2002, 2003, 2004, 2005, Zarlink Semiconductor Limited.
* All rights reserved.
*
* Module Description:
*
* This is the register definitions header file for GM block.
* It contains the register offsets and bit field definitions.
*
* Revision History:
*
* Rev: Date: Author: Comments:
* 1 04/04/2002 MRC Creation
* 2 16/04/2002 MRC Update
* 3 31/10/2002 MRC Added variants + minor fixes
*
*******************************************************************************/
#ifndef _ZL5011X_GM_MAP_H
#define _ZL5011X_GM_MAP_H
#ifdef __cplusplus
extern "C" {
#endif
/* addresses for the GM registers */
#define ZL5011X_GM_GRANULE_HEAD ZL5011X_GM_BASE + 0x00000
#define ZL5011X_GM_GRANULE_TAIL ZL5011X_GM_BASE + 0x00004
#define ZL5011X_GM_GRANULE_COUNT ZL5011X_GM_BASE + 0x00008
#define ZL5011X_GM_GRANULE_THRESHOLD ZL5011X_GM_BASE + 0x0000c
#define ZL5011X_GM_INTERRUPT_MASK ZL5011X_GM_BASE + 0x00010
#define ZL5011X_GM_INTERRUPT_STATUS ZL5011X_GM_BASE + 0x00014
/* defines for bit fields in the registers */
/* granule head and tail registers */
#define ZL5011X_GM_GRANULE_HEAD_BITS 0
#define ZL5011X_GM_GRANULE_TAIL_BITS 0
#define ZL5011X_GM_GRANULE_INDEX_MASK (Uint32T)0x3ffff
/* granule count register */
#define ZL5011X_GM_GRANULE_COUNT_BITS 0
#define ZL5011X_GM_GRANULE_COUNT_MASK (Uint32T)0x3ffff
/* granule threshold register */
#define ZL5011X_GM_GRANULE_THRESHOLD_BITS 0
#define ZL5011X_GM_GRANULE_THRESHOLD_MASK (Uint32T)0x3ffff
/* granule interrupt mask and status bits are defined in zl5011xGm.h, since they are
used in the application */
/* Granule descriptor field positions */
#define ZL5011X_GRANULE_NEXT_GRN_BITS 0
#define ZL5011X_GRANULE_NEXT_GRN_MASK (Uint32T)0x3ffff
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -