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

📄 s3c2410.h

📁 arm s3c2410常用头文件整理
💻 H
字号:
#ifndef S3C2410_H
#define S3C2410_H

#include "global.h"
#include "arm.h"

#define S3C2410_REGBASE 0x40000000

/* Watch Dog Timer */
#define WTCON  REGL(S3C2410_REGBASE, 0x13000000)

/*GPIO registers*/
#define GPBCON  REGL(S3C2410_REGBASE, 0x16000010)
#define GPBDAT  REGL(S3C2410_REGBASE, 0x16000014)
#define GPHCON  REGL(S3C2410_REGBASE, 0x16000070)
#define GPHDAT  REGL(S3C2410_REGBASE, 0x16000074)
#define GPHUP   REGL(S3C2410_REGBASE, 0x16000078)

/*UART registers*/
#define ULCON0		REGL(S3C2410_REGBASE, 0x10000000)
#define UCON0			REGL(S3C2410_REGBASE, 0x10000004)
#define UFCON0		REGL(S3C2410_REGBASE, 0x10000008)
#define UMCON0		REGL(S3C2410_REGBASE, 0x1000000c)
#define UTRSTAT0	REGL(S3C2410_REGBASE, 0x10000010)
#define UTXH0			REGB(S3C2410_REGBASE, 0x10000020)
#define URXH0			REGB(S3C2410_REGBASE, 0x10000024)
#define UBRDIV0		REGL(S3C2410_REGBASE, 0x10000028)

#endif

⌨️ 快捷键说明

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