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

📄 calmrisc16.h

📁 三星ic 9980的源代码. 718版.
💻 H
字号:
/**********************************************
 * CalmRISC16.h                                  
 * coded by hspark@pplab.ce.cnu.ac.kr
 * date : 
 **********************************************/

#ifndef __S5H5002_H__
#define __S5H5002_H__

#ifdef __cplusplus
extern "C" {
#endif

#define	IO_BASE		0x3F0000
#define BTCON		(*(volatile unsigned char *) (IO_BASE+0x0004))   //
#define BTCNT		(*(volatile unsigned char *) (IO_BASE+0x0005))   //
#define RTCON		(*(volatile unsigned char *) (IO_BASE+0x0002))   //

#define IRQ0		(*(volatile unsigned char *) (IO_BASE+0x0020))   //
#define IRQ0H		(*(volatile unsigned char *) (IO_BASE+0x0020))   //
#define IRQ0L		(*(volatile unsigned char *) (IO_BASE+0x0021))   //
#define IMR0		(*(volatile unsigned char *) (IO_BASE+0x0022))   //
#define IMR0H		(*(volatile unsigned char *) (IO_BASE+0x0022))   //
#define IMR0L		(*(volatile unsigned char *) (IO_BASE+0x0023))   //
#define IIR			(*(volatile unsigned char *) (IO_BASE+0x0026))   //
#define IRQ1		(*(volatile unsigned char *) (IO_BASE+0x0028))   //
#define IRQ1H		(*(volatile unsigned char *) (IO_BASE+0x0028))   //
#define IRQ1L		(*(volatile unsigned char *) (IO_BASE+0x0029))   //
#define IMR1		(*(volatile unsigned char *) (IO_BASE+0x002A))   //
#define IMR1H		(*(volatile unsigned char *) (IO_BASE+0x002A))   //
#define IMR1L		(*(volatile unsigned char *) (IO_BASE+0x002B))   //

#endif
#ifdef __cplusplus
}

#endif /* __S3C2800_H__ */

⌨️ 快捷键说明

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