📄 main.c
字号:
#include "ccblkfn.h"
#include "sysreg.h"
#include <sys\exception.h>
#include <cdefBF533.h>
#include "Init.h"
#include "Sys.h"
#include "Regdef.h"
extern void Init_PLL(void);
extern void Init_Timer(void);
/****************************************************************/
TIMERxCONFIG mytimer1cfg;
TIMERxCONFIG mytimer2cfg;
void main()
{ unsigned short test;
unsigned int i,j,k;//define temporary variable
//Init_SDRAM();
Init_PLL();
// Init_EBIU();
// *pCtrlReg2 = 0x07;
// Init_Flash();
// Init_PPI();
// Init_PPIDMA();
// *pCtrlReg2 = 0x00;
Init_Timer();
*pTIMER_ENABLE= 0x0006;//enable timer
while(1)
{;}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -