?? option.h
字號:
#ifndef _OPTION_H_
#define _OPTION_H_
// ************* OPTIONS **************
//cowboy//#define MCLK (50000000)
#define MCLKM (60)
#define MCLK (MCLKM * 1000000)
#define PLLON 1
#define PLLM ((MCLKM*8/10)-8)
#define PLLP 2
#define PLLS 1
//20,40,50,60,66,75
// (PLL_M+8)*Fin (PLL_M+8)*10Mhz
//MCLK=------------------- = --------------
// (PLL_P+2)*(2^PLL_S) 4*2
#define WRBUFOPT (0x8) //write_buf_on
#define SYSCFG_0KB (0x0|WRBUFOPT)
#define SYSCFG_4KB (0x2|WRBUFOPT)
#define SYSCFG_8KB (0x6|WRBUFOPT)
#define CACHECFG SYSCFG_8KB
#define Non_Cache_Start (0x2000000)
#define Non_Cache_End (0xc000000)
#define Non_Cache_Start1 (0x2000000)
#define Non_Cache_End1 (0xc000000)
#define Non_Cache_Start2 (0x2000000)
#define Non_Cache_End2 (0xc000000)
#define Debug 1 //Now all the code is under Debug State
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -