📄 lpc2294.h
字号:
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究 所
** 产品一部
**
** http://www.zlgmcu.com
**
**--------------文件信息--------------------------------------------------------------------------------
**文 件 名: LPC2294.h
**创 建 人: 陈明计
**最后修改日期: 2004年1月15日
**描 述: 定义lpc22xx\lpc212x\lpc211x\lpc210x的特殊寄存器及固件程序
**
**--------------历史版本信息----------------------------------------------------------------------------
** 创建人: 陈明计
** 版 本: v1.0
** 日 期: 2004年1月15日
** 描 述: 原始版本
**
**--------------当前版本修订------------------------------------------------------------------------------
** 修改人:
** 日 期:
** 描 述:
**
**------------------------------------------------------------------------------------------------------
********************************************************************************************************/
/* EXTERNAL MEMORY CONTROLLER (EMC) */
/* 外部总线控制器 */
#define BCFG0 (*((volatile unsigned int *) 0xFFE00000)) /* lpc22xx only */
#define BCFG1 (*((volatile unsigned int *) 0xFFE00004)) /* lpc22xx only */
#define BCFG2 (*((volatile unsigned int *) 0xFFE00008)) /* lpc22xx only */
#define BCFG3 (*((volatile unsigned int *) 0xFFE0000C)) /* lpc22xx only */
/* External Interrupts */
/* 外部中断控制寄存器 */
#define EXTINT (*((volatile unsigned char *) 0xE01FC140))
#define EXTWAKE (*((volatile unsigned char *) 0xE01FC144))
#define INTWAKE (*((volatile unsigned long *) 0xE01FC144)) /* lpc213x only */
#define EXTMODE (*((volatile unsigned char *) 0xE01FC148)) /* no in lpc210x*/
#define EXTPOLAR (*((volatile unsigned char *) 0xE01FC14C)) /* no in lpc210x*/
/* SMemory mapping control. */
/* 内存remap控制寄存器 */
#define MEMMAP (*((volatile unsigned long *) 0xE01FC040))
/* Phase Locked Loop (PLL) */
/* PLL控制寄存器 */
#define PLLCON (*((volatile unsigned char *) 0xE01FC080))
#define PLLCFG (*((volatile unsigned char *) 0xE01FC084))
#define PLLSTAT (*((volatile unsigned short*) 0xE01FC088))
#define PLLFEED (*((volatile unsigned char *) 0xE01FC08C))
/* Power Control */
/* 功率控制寄存器 */
#define PCON (*((volatile unsigned char *) 0xE01FC0C0))
#define PCONP (*((volatile unsigned long *) 0xE01FC0C4))
/* VPB Divider */
/* VLSI外设总线(VPB)分频寄存器 */
#define VPBDIV (*((volatile unsigned char *) 0xE01FC100))
/* Reset Source Identification Register */
/* 复位源识别寄存器 */
#define RSIR (*((volatile unsigned char *) 0xE01FC180)) /* lpc2130 only */
/* Code Security Protection Register */
/* 代码0踩
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -