📄 mcf5208_pll.h
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -