📄 pll_setup.c
字号:
/******************************************************************************/
//
// Name: BF532-based EZ-KIT PLL Setup
//
/******************************************************************************
Purpose: The file sets up the PLL
*********************************************************************************/
#include <cdefBF533.h>
#include <ccblkfn.h>
#include <sysreg.h>
void Init_PLL(void)
{
volatile int test=0;
sysreg_write(reg_SYSCFG, 0x32); //Initialize System Configuration Register
*pSIC_IWR = 0x1;
*pPLL_CTL = 0x2C00;
// *pPLL_CTL = 0x1C00;
ssync();
idle();
}//end Init_PLL
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -