pll_setup.c
来自「ADSP 底层驱动」· C语言 代码 · 共 45 行
C
45 行
/******************************************************************************/
//
// Name: BF533 EZ-KIT PLL Setup
//
/******************************************************************************
(C) Copyright 2006 - Analog Devices, Inc. All rights reserved.
File Name: PLL_Setup.c
Date Modified: 10/25/04 Rev 0.2
Software: VisualDSP++4.5
Hardware: ADSP-BF533 EZ-KIT Board
Special Connections: None
Purpose: The file sets up the PPI transfer
*********************************************************************************/
#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;
ssync();
idle();
}//end Init_PLL
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?