option.h
来自「iar公司的s3c44b0x评估板的源程序」· C头文件 代码 · 共 42 行
H
42 行
#ifndef __OPTION_H__
#define __OPTION_H__
#define MCLK (50000000) /* Fin=8MHz, Fout=50MHz */
#define WRBUFOPT (0x8) /* enabel write buffer operation */
#define SYSCFG_0KB (0x0|WRBUFOPT)
#define SYSCFG_4KB (0x2|WRBUFOPT)
#define SYSCFG_8KB (0x6|WRBUFOPT)
#define CACHECFG SYSCFG_8KB
#define _ISR_STARTADDRESS (0x0cffff00)
/* chip selects */
#define CS0_BASE (0x00000000)
#define CS0_SIZE (0x02000000)
#define CS1_BASE (0x02000000)
#define CS1_SIZE (0x02000000)
#define CS2_BASE (0x04000000)
#define CS2_SIZE (0x02000000)
#define CS3_BASE (0x06000000)
#define CS3_SIZE (0x02000000)
#define CS4_BASE (0x08000000)
#define CS4_SIZE (0x02000000)
#define CS5_BASE (0x0A000000)
#define CS5_SIZE (0x02000000)
#define CS6_BASE (0x0C000000)
#define CS6_SIZE (0x02000000)
#define CS7_BASE (0x0E000000)
#define CS7_SIZE (0x02000000)
/* cs0, cs1 */
#define Non_Cache_Start_0 (CS0_BASE)
#define Non_Cache_End_0 (CS1_BASE+CS1_SIZE)
/* cs2, cs3, cs4, cs5 */
#define Non_Cache_Start_1 (CS2_BASE)
#define Non_Cache_End_1 (CS5_BASE+CS5_SIZE)
#endif /*__OPTION_H__*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?