📄 startup.h
字号:
/********************************************************************************
Startup Define Section
********************************************************************************/
// Comment out (please don't delete) the ones that do not apply
// to your code.
//#define STARTUP_SECTION L1_program_block1
#define STARTUP_SECTION program
#define PLL_MSEL 0x16 // default = 0xA
// #define PLL_D 0x0 // default = 0x0
// #define PLL_LOCK_COUNT 0x300 //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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -