亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? interrupt.lst

?? 凌陽SPDA1000 MP3開發(fā)資料
?? LST
字號:
C51 COMPILER V7.20   INTERRUPT                                                             07/12/2006 09:11:37 PAGE 1   


C51 COMPILER V7.20, COMPILATION OF MODULE INTERRUPT
OBJECT MODULE PLACED IN .\obj\interrupt.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE USER\interrupt.c LARGE OPTIMIZE(9,SIZE) BROWSE NOAREGS DEFINE(K_CARD_TYPE=0
                    -x01,K_CARD_TOTAL=0x01) DEBUG OBJECTEXTEND PRINT(.\lst\interrupt.lst) OBJECT(.\obj\interrupt.obj)

line level    source

   1          //===========================================================
   2          //   Project Name(項目名稱):  SPCA755 rebuild
   3          //   File Name(模塊名稱): interrupt.c
   4          //   Built Date(創(chuàng)建日期):2004-09-14
   5          //   Abstract(模塊描述): 中斷功能函數模塊
   6          //   Revision History(版本信息):
   7          //   Rev      Date           Author       Comment(修改說明)
   8          //   1.0      2004-09-14      XYQ         created
   9          //================================================================================================
  10          #include "..\userdefine.h"
  11          #include "interrupt.h"
  12          #include "userinit.h"
  13          #include "user.h"
  14          #include "main.h"
  15          //================================================================================================
  16          data U8 gc_KeyValue=0;
  17          data U8 gc_BatteryValue=0xff;
  18          data U8 gc_ADCOldKey=0;
  19          data U8 gc_LongKeyDelay=0;
  20          data U8 gc_LongKeyTimer=0;
  21          data U8 gc_QuarterTimer=0;
  22          data U8 gc_BlinkTimer;
  23          data U8 gc_SysSecondTimer;
  24          //================================================================================================
  25          data U8 gc_SecondTimer;
  26          data U8 gc_minuteTimer;
  27          data U8 gc_basetimerx4;//lyh add
  28          //================================================================================================
  29          #define K_USE_SPCA759_KEYB
  30          
  31          //================================================================================================
  32          void UserExtInterrupt() interrupt 0 using 1
  33          {
  34   1      
  35   1              INTR_Int0();    
  36   1              
  37   1      }
  38          
  39          void User_Timer() interrupt 1 using 2
  40          {//每7.8ms會進行中斷一次(into this intterrupt per 7.8ms)
  41   1              //該函數用戶不能刪除,否則定時器會不準確
  42   1              
  43   1      
  44   1              TIMER0_Routine();//the function must call here(該函數在此必須調用,該函數為設置定時器初值)
  45   1      
  46   1              gc_QuarterTimer = (gc_QuarterTimer >= 3)?0:gc_QuarterTimer+1;
  47   1      
  48   1              switch(gc_QuarterTimer)
  49   1              {
  50   2                      case 0:
  51   2                              if (gc_SysSecondTimer)
  52   2                              {
  53   3                                      gc_SysSecondTimer--;
  54   3                              }else{
C51 COMPILER V7.20   INTERRUPT                                                             07/12/2006 09:11:37 PAGE 2   

  55   3                                      gc_SysSecondTimer = SECONDTIMER_VALUE;
  56   3                              }
  57   2                              break;
  58   2                      case 1:                 
  59   2              
  60   2                              gc_BatteryValue = USER_READSAR(2);  //read SAR output
  61   2                              
  62   2                              if (USB_PlugDetect())
  63   2                      {
  64   3                              gc_BatteryValue = 0xff;
  65   3                      }
  66   2      
  67   2                              if (gc_BlinkTimer)gc_BlinkTimer--;
  68   2      
  69   2                              if (gc_LongKeyTimer) gc_LongKeyTimer++;                 
  70   2                              break; 
  71   2                      case 2:
  72   2                              if (!gc_KeyValue)
  73   2                              {//if oldevent haven't been deal with, not to get new keyValue
  74   3                               
  75   3                                      if (1)
  76   3                                      {
  77   4                                              data U8 tc_ADCCurrentKey;
  78   4              
  79   4                                              tc_ADCCurrentKey = USER_READSAR(0);  //read SAR output
  80   4                                              
  81   4                              #if 0
                                              #ifdef K_USE_SPCA759_KEYB
                                                      if (tc_ADCCurrentKey>240) tc_ADCCurrentKey=0;
                                                      else if(tc_ADCCurrentKey>171) tc_ADCCurrentKey=1;
                                                      else if(tc_ADCCurrentKey>149) tc_ADCCurrentKey=2;
                                                      else if(tc_ADCCurrentKey>124) tc_ADCCurrentKey=3;
                                                      else if(tc_ADCCurrentKey>96) tc_ADCCurrentKey=4;
                                                      else if(tc_ADCCurrentKey>66) tc_ADCCurrentKey=5;
                                                      else if(tc_ADCCurrentKey>36) tc_ADCCurrentKey=6;
                                                      else if(tc_ADCCurrentKey>11) tc_ADCCurrentKey=7;
                                                      else tc_ADCCurrentKey = 8;
                                              /*      if (tc_ADCCurrentKey>240) tc_ADCCurrentKey=0;
                                                      else if(tc_ADCCurrentKey>217) tc_ADCCurrentKey=1;
                                                      else if(tc_ADCCurrentKey>182) tc_ADCCurrentKey=2;
                                                      else if(tc_ADCCurrentKey>139) tc_ADCCurrentKey=3;
                                                      else if(tc_ADCCurrentKey>104) tc_ADCCurrentKey=4;
                                                      else if(tc_ADCCurrentKey>75) tc_ADCCurrentKey=5;
                                                      else if(tc_ADCCurrentKey>41) tc_ADCCurrentKey=6;
                                                      else if(tc_ADCCurrentKey>14) tc_ADCCurrentKey=7;
                                                      else tc_ADCCurrentKey = 8;*/
                                              #else
                                                      if (tc_ADCCurrentKey>240) tc_ADCCurrentKey=0;
                                                      else if(tc_ADCCurrentKey>220) tc_ADCCurrentKey=1;
                                                      else if(tc_ADCCurrentKey>202) tc_ADCCurrentKey=2;
                                                      else if(tc_ADCCurrentKey>181) tc_ADCCurrentKey=3;
                                                      else if(tc_ADCCurrentKey>147) tc_ADCCurrentKey=4;
                                                      else if(tc_ADCCurrentKey>105) tc_ADCCurrentKey=5;
                                                      else if(tc_ADCCurrentKey>61) tc_ADCCurrentKey=6;
                                                      else if(tc_ADCCurrentKey>20) tc_ADCCurrentKey=7;
                                                      else tc_ADCCurrentKey = 8;
                                              #endif
                                      #else//MoonBox key value V2.0
 113   4      
 114   4                                              if (tc_ADCCurrentKey>240) tc_ADCCurrentKey=0;
 115   4                                              else if(tc_ADCCurrentKey>217) tc_ADCCurrentKey=7;
 116   4                                              else if(tc_ADCCurrentKey>182) tc_ADCCurrentKey=8;
C51 COMPILER V7.20   INTERRUPT                                                             07/12/2006 09:11:37 PAGE 3   

 117   4                                              else if(tc_ADCCurrentKey>139) tc_ADCCurrentKey=5; 
 118   4                                              else if(tc_ADCCurrentKey>104) tc_ADCCurrentKey=4; //VOL+
 119   4                                              else if(tc_ADCCurrentKey>75) tc_ADCCurrentKey=6;  //MODE
 120   4                                              else if(tc_ADCCurrentKey>41) tc_ADCCurrentKey=2;  //LAST
 121   4                                              else if(tc_ADCCurrentKey>14) tc_ADCCurrentKey=1;  //NEXT
 122   4                                              else tc_ADCCurrentKey = 3;                        //PLAY
 123   4      /*
 124   4                                              if (tc_ADCCurrentKey>240) tc_ADCCurrentKey=0;                                   
 125   4                                              else if(tc_ADCCurrentKey>210) tc_ADCCurrentKey=1;
 126   4                                              else if(tc_ADCCurrentKey>180) tc_ADCCurrentKey=2;
 127   4                                              else if(tc_ADCCurrentKey>140) tc_ADCCurrentKey=3;
 128   4                                              else if(tc_ADCCurrentKey>96) tc_ADCCurrentKey=4;
 129   4                                              else if(tc_ADCCurrentKey>66) tc_ADCCurrentKey=5;
 130   4                                              else if(tc_ADCCurrentKey>36) tc_ADCCurrentKey=6;
 131   4                                              else if(tc_ADCCurrentKey>11) tc_ADCCurrentKey=7;
 132   4                                              else tc_ADCCurrentKey = 8;*/
 133   4                              #endif
 134   4                                      
 135   4                                      
 136   4                                              if ((gc_ADCOldKey & 0x0f) == tc_ADCCurrentKey)
 137   4                                              {//按鍵未釋放
 138   5                                                      if (tc_ADCCurrentKey != KEY_NONEKEY)
 139   5                                                      {
 140   6                                                              if (gc_LongKeyTimer > gc_LongKeyDelay)
 141   6                                                              {
 142   7                                                                      gc_ADCOldKey = gc_ADCOldKey | 0x10;             //長按鍵
 143   7                                                                      gc_KeyValue = gc_ADCOldKey & 0x7f;
 144   7                                                                      gc_LongKeyTimer = REPEATKEY_DELAYVALUE; //設置重復按鍵延時起始值
 145   7                                                                      gc_LongKeyDelay = (gc_LongKeyDelay < MIN_REPEATKEYDELAY)?MIN_REPEATKEYDELAY:gc_LongKeyDelay-3;  //

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕二三区不卡| 国产三级精品视频| 99这里只有精品| 国产高清不卡一区| 激情欧美一区二区| 久久精工是国产品牌吗| 美女网站视频久久| 精品综合久久久久久8888| 久久99热99| 国产精品亚洲午夜一区二区三区 | 国内精品伊人久久久久av影院 | 国产乱码精品1区2区3区| 奇米色777欧美一区二区| 免费精品视频在线| 国产一区二区免费视频| 国产精品一区二区三区99| 国产999精品久久久久久| 成人免费不卡视频| 欧美视频在线观看一区| 欧美性大战久久久久久久蜜臀| 欧美日韩精品一区二区| 日韩欧美国产成人一区二区| 2014亚洲片线观看视频免费| 国产喷白浆一区二区三区| ●精品国产综合乱码久久久久 | 91色乱码一区二区三区| 欧美视频你懂的| 欧美一级日韩一级| 久久精品日韩一区二区三区| 最新国产の精品合集bt伙计| 亚洲成人动漫精品| 裸体歌舞表演一区二区| www.亚洲免费av| 欧美精品自拍偷拍动漫精品| 日韩精品资源二区在线| 久久精品亚洲精品国产欧美 | 麻豆国产一区二区| 成人的网站免费观看| 精品视频一区二区三区免费| 精品免费日韩av| 亚洲色图视频免费播放| 久久99精品一区二区三区三区| hitomi一区二区三区精品| 欧美揉bbbbb揉bbbbb| 欧美激情在线一区二区| 日韩福利电影在线观看| 99免费精品在线观看| 日韩精品中文字幕一区二区三区| 中文字幕精品一区二区精品绿巨人 | 精品日韩欧美一区二区| 亚洲人成网站精品片在线观看| 美女视频黄频大全不卡视频在线播放| 国产成人免费视| 日韩美女在线视频| 亚洲国产欧美在线| 色综合久久久网| 久久免费精品国产久精品久久久久 | 亚洲免费视频中文字幕| 国产精品12区| 精品欧美一区二区三区精品久久| 亚洲一区二区在线观看视频| 成人av集中营| www精品美女久久久tv| 免费的成人av| 欧美一区二区视频网站| 天天操天天综合网| 欧美精品乱人伦久久久久久| 一级特黄大欧美久久久| 不卡区在线中文字幕| 国产亚洲污的网站| 国产在线一区观看| 久久久久久久久一| 狠狠狠色丁香婷婷综合激情| 日韩欧美国产综合一区| 爽好久久久欧美精品| 欧美日韩国产一级| 日本欧美在线观看| 日韩欧美一区二区免费| 久久成人av少妇免费| 日韩欧美一区二区久久婷婷| 久久精品999| 欧美精品一区二区三区高清aⅴ | 中文字幕av一区 二区| 国产一区二区不卡老阿姨| 久久亚洲综合av| 国产成人精品一区二区三区四区| 久久一二三国产| 粉嫩一区二区三区在线看| 中文字幕亚洲在| 91成人在线精品| 午夜天堂影视香蕉久久| 日韩精品综合一本久道在线视频| 久久国产视频网| 久久一二三国产| 91丝袜呻吟高潮美腿白嫩在线观看| 国产精品三级av| 91年精品国产| 婷婷激情综合网| 精品国产百合女同互慰| 岛国一区二区三区| 亚洲一区二区av在线| 日韩一区二区免费在线观看| 另类的小说在线视频另类成人小视频在线 | 日韩欧美一二区| 成人福利在线看| 香蕉久久一区二区不卡无毒影院 | 欧美日韩一区三区| 国内欧美视频一区二区| 亚洲三级视频在线观看| 欧美挠脚心视频网站| 国产精品夜夜嗨| 亚洲国产日韩一区二区| 国产亚洲制服色| 欧美在线视频日韩| 国产成人精品在线看| 亚洲五月六月丁香激情| 久久精品视频一区| 3d成人h动漫网站入口| 成人丝袜18视频在线观看| 日韩精品电影在线| 亚洲欧洲综合另类| 久久久综合视频| 欧美人狂配大交3d怪物一区| 成人自拍视频在线观看| 视频一区二区中文字幕| 亚洲视频狠狠干| 久久丝袜美腿综合| 欧美日韩电影一区| 色就色 综合激情| 粉嫩在线一区二区三区视频| 美国十次综合导航| 亚洲一区二区三区免费视频| 欧美国产日韩在线观看| 欧美大胆一级视频| 欧美精品在线观看播放| 91色婷婷久久久久合中文| 国产精品一区在线观看乱码| 日本午夜一本久久久综合| 亚洲愉拍自拍另类高清精品| 欧美国产丝袜视频| 久久久www成人免费无遮挡大片| 欧美一区二区三级| 欧美一区二区三区在线看| 欧美伊人久久大香线蕉综合69| 国产91精品露脸国语对白| 精彩视频一区二区三区| 日本不卡一区二区三区| 亚洲电影你懂得| 亚洲一区免费在线观看| 一区二区理论电影在线观看| 中文字幕亚洲欧美在线不卡| 国产欧美日韩精品在线| 国产欧美日韩视频一区二区| 久久久99免费| 国产欧美日本一区二区三区| 日本一区二区三区四区| 国产精品美女久久久久aⅴ| 中文字幕av一区二区三区免费看| 国产午夜精品一区二区| 国产精品色在线| 亚洲欧美日韩国产综合| 夜夜精品浪潮av一区二区三区| 亚洲自拍偷拍av| 香蕉乱码成人久久天堂爱免费| 五月婷婷久久综合| 久久精品国产一区二区三| 精品一区二区日韩| 国产成人在线影院| 波多野洁衣一区| 欧美日韩综合色| 日韩一本二本av| 国产欧美日本一区视频| 综合激情成人伊人| 午夜视频一区二区| 国产一区二区不卡在线| 不卡av电影在线播放| 在线观看视频欧美| 日韩欧美精品三级| 亚洲国产岛国毛片在线| 亚洲日本免费电影| 视频一区二区国产| 国产成人夜色高潮福利影视| www.日韩精品| 制服丝袜中文字幕一区| 国产丝袜欧美中文另类| 亚洲美女屁股眼交3| 琪琪久久久久日韩精品| 国产aⅴ综合色| 欧美色精品天天在线观看视频| 欧美大胆一级视频| 一区二区三区在线观看动漫| 麻豆91在线观看| 91亚洲精品一区二区乱码| 欧美妇女性影城| 国产欧美一区二区三区沐欲| 午夜不卡av在线| 成人av网站在线观看免费| 欧美电影一区二区三区| 最新国产成人在线观看| 狠狠色狠狠色合久久伊人|