option.h
来自「vxwork操作系统的相关内容」· C头文件 代码 · 共 51 行
H
51 行
/**************************************************************
NAME: option.h
DESC: To measuure the USB download speed, the WDT is used.
To measure up to large time, The WDT interrupt is used.
HISTORY:
Feb.20.2002:Shin, On Pil: Programming start
Mar.25.2002:purnnamu: S3C2400X profile.c is ported for S3C2440X.
**************************************************************/
#ifndef __OPTION_H__
#define __OPTION_H__
#define MEGA (1000000)
#define FIN (12000000)
#ifdef GLOBAL_CLK
U32 FCLK;
U32 HCLK;
U32 PCLK;
U32 UCLK;
#else
extern unsigned int FCLK;
extern unsigned int HCLK;
extern unsigned int PCLK;
extern unsigned int UCLK;
#endif
#define BUSWIDTH (32)
#define _RAM_STARTADDRESS 0x30000000
#define _ISR_STARTADDRESS 0x33ffff00
#define _MMUTT_STARTADDRESS 0x33ff8000
#define _STACK_BASEADDRESS 0x33ff8000
#define HEAPEND 0x33ff0000
#define _NONCACHE_STARTADDRESS 0x31000000
#define ADS10 1
#define USBDMA 1
#define USBDMA_DEMAND 0
#define BULK_PKT_SIZE 64
#endif /*__OPTION_H__*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?