startup.h

来自「BF533 与音频解码器连接回放代码」· C头文件 代码 · 共 27 行

H
27
字号
/********************************************************************************
 Startup Define Section 
********************************************************************************/

// Comment out (please don't delete) the ones that do not apply
// to your code.

#define STARTUP_SECTION program

//#define PLL_MSEL 0xA     // default = 0xA  
//#define PLL_D    0x0     // default = 0x0  
//#define PLL_LOCK_COUNT 0x200 //default = 0x200

#define PLL_CSEL 0x0     // default = 0x0
#define PLL_SSEL 0x5     // default = 0x5

#define EN_EXC_FAIL_LED  0x2 // Got an exception in your code 

#define EN_PASS_LED 0x0  	// Final Test Passed
#define EN_FAIL_LED 0x1  	// Final Test Failed

#define SYSCFG_VALUE 0x30	//Program this value into SYSCFG register

//#define RUN_USER		 // Otherwise code is run in supervisor mode
						//  ISR15 by default.
					
// #define EN_SDRAM 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?