mcf537x_pll.h

来自「Freescale ColdFire MCF537x 家族的参考代码」· C头文件 代码 · 共 38 行

H
38
字号
/* * File:    mcf537x_pll.h * Purpose: Register and bit definitions */#ifndef __MCF537X_PLL_H__#define __MCF537X_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 /* __MCF537X_PLL_H__ */

⌨️ 快捷键说明

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