s3c2410.h
来自「arm s3c2410常用头文件整理」· C头文件 代码 · 共 29 行
H
29 行
#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 + =
减小字号Ctrl + -
显示快捷键?