?? hal_mcg.h
字號:
/*
* 測試硬件平臺:LPLD_K60 Card
* 版權所有:北京拉普蘭德電子技術有限公司
* 網(wǎng)絡銷售:http://laplenden.taobao.com
* 公司門戶:http://www.lpld.cn
*
* 文件名: HAL_MCG.h
* 用途: MCG底層模塊相關函數(shù)
* 最后修改日期: 20120216
*
* 開發(fā)者使用協(xié)議:
* 本代碼面向所有使用者開放源代碼,開發(fā)者可以隨意修改源代碼。但本段及以上注釋應
* 予以保留,不得更改或刪除原版權所有者姓名。二次開發(fā)者可以加注二次版權所有者,
* 但應在遵守此協(xié)議的基礎上,開放源代碼、不得出售代碼本身。
*/
#ifndef __HAL_MCG_H__
#define __HAL_MCG_H__
/********************************************************************/
unsigned char LPLD_PLL_Setup(unsigned char pll_option);
#if (defined(IAR))
__ramfunc void LPLD_Set_SYS_DIV(uint32 outdiv1, uint32 outdiv2, uint32 outdiv3, uint32 outdiv4);
#elif (defined(CW))
__relocate_code__
void LPLD_Set_SYS_DIV(uint32 outdiv1, uint32 outdiv2, uint32 outdiv3, uint32 outdiv4);
#endif
enum PLL_option
{
PLL_60=60,
PLL_70=70,
PLL_80=80,
PLL_90=90,
PLL_100=100,
PLL_110=110,
PLL_120=120,
PLL_130=130,
PLL_150=150,
PLL_170=170,
PLL_180=180,
PLL_200=200,
PLL_209=209
};
#endif /* __HAL_MCG_H__ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -