pll_setup.c
来自「是bf533使用SPORT模拟SPI通信的实例」· C语言 代码 · 共 41 行
C
41 行
/******************************************************************************/
//
// Name: BF537 EZ-KIT PLL Setup
//
/******************************************************************************
(C) Copyright 2004 - Analog Devices, Inc. All rights reserved.
File Name: PLL_Setup.c
Date Modified: 7/02/03 TL Rev 0.1
Software: VisualDSP++3.5
Hardware: ADSP-BF537 EZ-KIT Board
Special Connections: None
Purpose: This file sets up the PLL.
*********************************************************************************/
#include <cdefBF537.h>
#include <ccblkfn.h>
void Init_PLL(void)
{
volatile int test=0;
*pSIC_IWR = 0x1;
*pPLL_CTL = 0x1C00; //STI flash Max SPORTClk 45Mhz
// *pPLL_CTL = 0x0C00; //ATMEL flash Max SPORTClk 15Mhz
ssync();
idle();
}//end Init_PLL
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?