?? main.c
字號(hào):
#include"uhal.h"
#include"myuart.h"
#include"Timer.h"
#include"Isr.h"
#include"44b.h"
#pragma import(__use_no_semihosting_swi) // ensure no functions that use semihosting
int main(void)
{ int val=0;
ARMTargetInit(); //開發(fā)版初始化
Zlg7289_Reset();
Init_Timer3(100,4,40000,20000);
INTS_OFF();//Disable interrupt in PSR
SetISR_Interrupt(INT_TIMER3_OFFSET, Timer3_ISR,0);
Open_INT_GLOBAL();
Open_INT(BIT_TIMER3);
INTS_ON();//Enable interrupt in PSR
Start_Timer3();
Uart_Printf("\n");
while(1)
{Uart_Printf("\r%d ",rTCNTO3); Delay(1000);}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -