C51 COMPILER V9.01   TOUCHKEYSCAN                                                          08/01/2023 15:50:03 PAGE 1   


C51 COMPILER V9.01, COMPILATION OF MODULE TOUCHKEYSCAN
OBJECT MODULE PLACED IN .\Objects\TouchKeyScan.obj
COMPILER INVOKED BY: D:\Keil\C51\BIN\C51.EXE User\C\TouchKeyScan.c BROWSE INCDIR(.\User\H) DEBUG OBJECTEXTEND PRINT(.\Li
                    -stings\TouchKeyScan.lst) OBJECT(.\Objects\TouchKeyScan.obj)

line level    source

   1          #include "TouchKeyScan.h"
   2          #include "Touch_Lib.h"
   3          
   4          u16 code TKChnCfg[TKL_CHN_NUM*6]={
   5          1,0,20,100,100,100,
   6          2,1,20,100,100,100,
   7          };
   8          
   9          
  10          u8 xdata ChnInfoBuf[TKL_CHN_INFO_SIZE * TKL_CHN_NUM] = {0};
  11          
  12          void Timer0_IRQHandler() interrupt 6
  13          {        
  14   1          TCON |= 0x20;                   // 清中断标志
  15   1          TL0   = (65536 - TIM_PERIOD)%256;     // 设置定时计数器
  16   1          TH0   = (65536 - TIM_PERIOD)/256;
  17   1          
  18   1          TKL_ScanStartLoop();
  19   1      }
  20          
  21          void CSD_IRQHandler() interrupt 12
  22          {
  23   1          TKL_IRQCallback();
  24   1      }
  25          
  26          void Timer0_Init(void)
  27          {
  28   1          CKCON = 0x00;                 // CLK/12
  29   1          TMOD = 0x01;
  30   1          TL0  = (65536 - TIM_PERIOD)%256;    // 设置定时计数器，定时器周期 1ms
  31   1          TH0  = (65536 - TIM_PERIOD)/256;
  32   1          TCON = 0x11;
  33   1      }
  34          
  35          
  36          
  37          
  38          
  39          
  40          
  41          
  42          
  43          
  44          
  45          
  46          
  47          
  48          
  49          
  50          
  51          
  52          
  53          
  54          
C51 COMPILER V9.01   TOUCHKEYSCAN                                                          08/01/2023 15:50:03 PAGE 2   

  55          
  56          
  57          
  58          
  59          
  60          
  61          
  62          
  63          
  64          
  65          
  66          
  67          
  68          
  69          
  70          
  71          
  72          
  73          
  74          
  75          
  76          
  77          
  78          
  79          
  80          
  81          
  82          
  83          
  84          
  85          
  86          
  87          
  88          
  89          
  90          
  91          
  92          
  93          
  94          
  95          
  96          
  97          
  98          
  99          
 100          
 101          
 102          
 103          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =    143    ----
   CONSTANT SIZE    =     24    ----
   XDATA SIZE       =    134    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
