pll_setup.c

来自「BF533的程序」· C语言 代码 · 共 35 行

C
35
字号
/******************************************************************************/
//
// 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 + =
减小字号Ctrl + -
显示快捷键?