mcf5208_pll.h
来自「motorola 针对coldfire 5275 评估板的Dbug bootlo」· C头文件 代码 · 共 41 行
H
41 行
/*
* File: mcf5208_pll.h
* Purpose: Register and bit definitions for the MCF5208
*
* Notes:
*
*/
#ifndef __MCF5208_PLL_H__
#define __MCF5208_PLL_H__
/*********************************************************************
*
* Phase Locked Loop (PLL)
*
*********************************************************************/
/* Register read/write macros */
#define MCF_PLL_PODR (*(vuint8 *)(0xFC090000))
#define MCF_PLL_PLLCR (*(vuint8 *)(0xFC090002))
#define MCF_PLL_PMDR (*(vuint8 *)(0xFC090004))
#define MCF_PLL_PFDR (*(vuint8 *)(0xFC090006))
/* 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 /* __MCF5208_PLL_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?