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

📄 zl5011xgmmap.h

📁 Zalink50114----TDMoIP芯片驱动源码
💻 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 + -