📄 pll.c
字号:
/*****************************************************************************
** **
** Name: main.c **
** **
******************************************************************************
(C) Copyright 2004 - Analog Devices, Inc. All rights reserved.
Pjoject Name: BF537 POST ATE
Date Modified: 01 Sept 2005
Software: VisualDSP++ 4.0
Hardware: ADSP-BF537 EZ-KIT Lite
Connections:
Purpose: Purpose: Perform a POST ATE on the BF537 EZ-Kit Lite
*****************************************************************************/
#include <cdefBF537.h>
#include <ccblkfn.h>
void Init_PLL(void)
{
//These are the settings from the ehternet loopback test (the only other PLL code I could find)
*pSIC_IWR |= 0x1; // enable PLL wakeup
*pPLL_CTL = 0x3000; // MSEL= x39, DF= %2
ssync();
idle(); // put in idle
*pPLL_DIV = 0x0005; // CSEL= %1, SSEL= %4
*pVR_CTL = 0x42DB;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -