摘要:
1 /* 存放中断的队列 */ 2 typedef struct tagIntQueue 3 { 4 int intType; /* 中断类型 */ 5 struct tagIntQueue *next; 6 }IntQueue; 7 8 IntQueue lpIntQueueHead; 9 10 __interrupt ISRexample ()11 {12 int intType;13 intType = GetSystemType();14 QueueAddTail(lpIntQueueHead, intType);/* 在队列尾加入新的中断 ... 阅读全文