calmrisc16.h

来自「三星ic 9980的源代码. 718版.」· C头文件 代码 · 共 39 行

H
39
字号
/**********************************************
 * 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 + =
减小字号Ctrl + -
显示快捷键?