資源簡介
該資源使用proteus工具實現了一個溫控電爐的設計,文件是源代碼,實用可靠
代碼片段和文件信息
#include?
/*char?LED_stauts=LED_OFF;*/
/*int?count=0;
int?cnt;
int?flag=0;*/
void?FIQ_Exception()
{
????/*if(cnt==-1)
????{
???????LED_OUTPUT_A=OFF;
????}
????else
????{
????if(count==0&&cnt!=0)
????{
???????LED_OUTPUT_A=ON;
????}
????
????
????if(count==cnt)
????{
???????LED_OUTPUT_A=0x00;
????}?
????
????
????if(count==100)
????{
???????count=0;
????}
????else
????{
???????count++;
????}
????}
????//標志
????if(flag==0)?flag=1;
????else?flag=0;*/
????/*if(LED_stauts==LED_OFF)
???????LED_stauts=LED_ON;
????else
???????LED_stauts=LED_OFF;
????
????LED_OUTPUT_A=LED_stauts;*/
????return;
????
???}
__irq
void?FIQ_Handler()
{
???FIQ_Exception();
???INT_8259_A0=0x20;
???INT_8259_A0=0x20;
???return;
???
????
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????53519??2018-06-27?17:26??微原大作業\Backup?Of?L3_1_STU.pdsbak
?????文件???13171102??2018-06-27?21:58??微原大作業\L3_1_STU.pdsprj
?????文件??????12293??2018-06-27?14:31??微原大作業\L3_1_STU.pdsprj.DESKTOP-LDHVJU9.lenovo.workspace
?????文件??????59168??2018-06-27?14:31??微原大作業\L3_1_STU.pdsprj.DESKTOP-TSVQN4Q.鐘道通.workspace
?????文件??????27655??2018-06-27?21:59??微原大作業\L3_1_STU.pdsprj.YG5R31GGLYWXS08.Administrator.workspace
?????文件???13171151??2018-06-27?21:57??微原大作業\Last?Loaded?L3_1_STU.pdsbak
?????文件???????4229??2018-06-27?14:31??微原大作業\LPC2101\aint.s
?????文件???????2212??2018-06-27?14:31??微原大作業\LPC2101\Debug\aint.o
?????文件??????15712??2018-06-27?17:40??微原大作業\LPC2101\Debug\Debug.elf
?????文件???????7392??2018-06-27?14:31??微原大作業\LPC2101\Debug\int.o
?????文件??????11548??2018-06-27?17:40??微原大作業\LPC2101\Debug\main.o
?????文件???????1550??2018-06-27?17:40??微原大作業\LPC2101\Debug\Makefile
?????文件???????2740??2018-06-27?14:31??微原大作業\LPC2101\Debug\zdt.o
?????文件????????784??2018-06-27?14:31??微原大作業\LPC2101\int.c
?????文件????????500??2018-06-27?14:31??微原大作業\LPC2101\LPC2101.sct
?????文件???????4224??2018-06-27?17:40??微原大作業\LPC2101\main.c
?????文件???????1740??2018-06-27?17:26??微原大作業\LPC2101\mycode.h
?????文件??????97311??2018-06-27?14:31??微原大作業\ROM&RAM.pdf
?????目錄??????????0??2018-06-27?17:40??微原大作業\LPC2101\Debug
?????目錄??????????0??2018-06-27?14:31??微原大作業\LPC2101
?????目錄??????????0??2018-06-27?21:58??微原大作業
-----------?---------??----------?-----??----
?????????????26644830????????????????????21
評論
共有 條評論