標(biāo)題:
cortex-M4 K66實(shí)現(xiàn)PPIT定時(shí)中斷源程序
[打印本頁(yè)]
作者:
Chavez
時(shí)間:
2019-10-27 13:01
標(biāo)題:
cortex-M4 K66實(shí)現(xiàn)PPIT定時(shí)中斷源程序
控制K66核心板上的指示燈以不同的頻率閃爍
單片機(jī)源程序如下:
#include "include.h"
int main(void)
{
DisableInterrupts;
PLL_Init(PLL200);
PIT_Init(PIT0, 500);
LED_Init();
LED_Ctrl(LEDALL, OFF);
EnableInterrupts;
while(1)
{
}
}
復(fù)制代碼
所有資料51hei提供下載:
PIT定時(shí)中斷.7z
(187.86 KB, 下載次數(shù): 7)
2019-10-28 03:46 上傳
點(diǎn)擊文件名下載附件
下載積分: 黑幣 -5
歡迎光臨 (http://www.torrancerestoration.com/bbs/)
Powered by Discuz! X3.1