⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 evmdm642_apll.c

📁 DM642串口调试模块
💻 C
字号:
/*
 *  Copyright 2003 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 */
 
/*
 *  ======== evmdm642_apll.c ========
 *  Analog PLL control for the EVMDM642
 */
 
#include <csl.h>

#include "evmdm642.h"
#include "evmdm642_apll.h"

/* Write to the configuration register on the analog PLL */
void EVMDM642_APLL_rset(Uint16 data)
{
    /* Write data to the APLL */
    *((volatile Uint32 *)(EVMDM642_SYNC_BASE + 4)) = data;

    /* Wait for transmission to complete */
    while ((EVMDM642_rget(EVMDM642_ISR) & 0x20) == 0);
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -