?? config.h
字號(hào):
#ifndef __CONFIG_H
#define __CONFIG_H
//#define PROCESSOR_CLOCK 154828800
//#define PROCESSOR_CLOCK 176947200
#define PROCESSOR_CLOCK 203000000
//#define PROCESSOR_CLOCK 199065600
//#define PROCESSOR_CLOCK 221184000
//#define PROCESSOR_CLOCK 243302400
#define MASTER_CLOCK_DIVIDER 3
#define AT91C_MASTER_CLOCK (PROCESSOR_CLOCK/MASTER_CLOCK_DIVIDER)
/*
#if (PROCESSOR_CLOCK == 243302400)
#define AT91C_MASTER_CLOCK 81100800 // set master clock 81100800Hz
#elif (PROCESSOR_CLOCK == 221184000)
#define AT91C_MASTER_CLOCK 73728000 // set master clock 73.728MHz
#elif (PROCESSOR_CLOCK == 199065600)
#define AT91C_MASTER_CLOCK 66355200 // set master clock 66.3552Hz
#elif (PROCESSOR_CLOCK == 176947200)
#define AT91C_MASTER_CLOCK 58982400 // set master clock 58.9824Hz
#elif (PROCESSOR_CLOCK == 154828800)
#define AT91C_MASTER_CLOCK 51609600 // set master clock 51.6096Hz
#endif*/
#define DRAM_BANKS 1
#define DRAM_BASE 0x20000000
#define DRAM_SIZE 0x2000000 //32M
typedef struct {
unsigned long base;
unsigned long size;
}DRAM_PARAMS;
#define UART_BAUD_RATE 115200
#endif /* __CONFIG_H */
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -