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

📄 mcf532x_pll.h

📁 coldfire的mcf5329的程序
💻 H
字号:
/*
 * File:    mcf532x_pll.h
 * Purpose: Register and bit definitions
 */

#ifndef __MCF532X_PLL_H__
#define __MCF532X_PLL_H__

/*********************************************************************
*
* Phase Locked Loop (PLL)
*
*********************************************************************/

/* Register read/write macros */
#define MCF_PLL_PODR              (*(vuint8 *)(0xFC0C0000))
#define MCF_PLL_PLLCR             (*(vuint8 *)(0xFC0C0004))
#define MCF_PLL_PMDR              (*(vuint8 *)(0xFC0C0008))
#define MCF_PLL_PFDR              (*(vuint8 *)(0xFC0C000C))

/* Bit definitions and macros for MCF_PLL_PODR */
#define MCF_PLL_PODR_BUSDIV(x)    (((x)&0x0F)<<0)
#define MCF_PLL_PODR_CPUDIV(x)    (((x)&0x0F)<<4)

/* Bit definitions and macros for MCF_PLL_PLLCR */
#define MCF_PLL_PLLCR_DITHDEV(x)  (((x)&0x07)<<0)
#define MCF_PLL_PLLCR_DITHEN      (0x80)

/* Bit definitions and macros for MCF_PLL_PMDR */
#define MCF_PLL_PMDR_MODDIV(x)    (((x)&0xFF)<<0)

/* Bit definitions and macros for MCF_PLL_PFDR */
#define MCF_PLL_PFDR_MFD(x)       (((x)&0xFF)<<0)

/********************************************************************/

#endif /* __MCF532X_PLL_H__ */

⌨️ 快捷键说明

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