C51 COMPILER V9.02   INTERRUPT                                                             12/25/2025 18:50:26 PAGE 1   


C51 COMPILER V9.02, COMPILATION OF MODULE INTERRUPT
OBJECT MODULE PLACED IN .\hex\interrupt.obj
COMPILER INVOKED BY: D:\Keil\C51\BIN\C51.EXE interrupt.c OMF2 ROM(COMPACT) OPTIMIZE(9,SIZE) BROWSE DEBUG PRINT(.\lst\int
                    -errupt.lst) OBJECT(.\hex\interrupt.obj)

line level    source

   1          #ifndef _INTERRUPT_C_
   2          #define _INTERRUPT_C_
   3          /*********************************************************************************************************
             -************/
   4          #include "ca51f_config.h"
   5          #include "includes\ca51f2sfr.h"
   6          #include "includes\ca51f2xsfr.h"
   7          #include "includes\gpiodef_f2.h"
   8          
   9          #include "Library\includes\delay.h"
  10          #include "Library\includes\uart.h"
  11          #include "Library\includes\system_clock.h"
  12          #include "Library\Includes\rtc.h"       
  13          #include "includes\system.h"
  14          /*********************************************************************************************************
             -************/
  15          #include "TS_Lib\Includes\ts_configuration.h"
  16          #include "TS_Lib\Includes\ts_def.h"
  17          #include "TS_Lib\Includes\ts_api.h"
  18          #include "TS_Lib\Includes\ts_service.h"
  19          /*********************************************************************************************************
             -************/        
  20          #if DEBUG
              #include "Library\Includes\i2c.h"               
              void I2C_ISR(void);
              #endif
  24          void UART2_ISR (void);
  25          void INT8_ISR (void) interrupt 13        
  26          {
  27   1              if(RTCIF & RTC_MF)                      //毫秒中断         时间为 (RTMSS+1)*128*Trtc, 
  28   1              {
  29   2                      RTCIF = RTC_MF;         
  30   2                      TS_MS_ISR();
  31   2                      if(TS_LongKeyTimer)
  32   2                      {
  33   3                              TS_LongKeyTimer--;              
  34   3                      }
  35   2              }
  36   1              if(RTCIF & RTC_HF)                      //半秒中断
  37   1              {
  38   2                      RTCIF = RTC_HF; 
  39   2                      TS_HS_ISR();
  40   2              }       
  41   1      }
  42          void INT3_ISR (void) interrupt 8
  43          {       
  44   1              if(TKIF != 0)
  45   1              {
  46   2                      TS_ISR();
  47   2              }
  48   1      #ifdef UART2_EN
                      UART2_ISR();
              #endif  
  51   1      }
C51 COMPILER V9.02   INTERRUPT                                                             12/25/2025 18:50:26 PAGE 2   

  52          void INT6_ISR(void) interrupt 11 
  53          {
  54   1      #if DEBUG
                      if(I2CFLG & I2CF)               
                      {
                              I2C_ISR();
                      }
              #endif
  60   1      }
  61          #endif


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =    165    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
   EDATA SIZE       =   ----    ----
   HDATA SIZE       =   ----    ----
   XDATA CONST SIZE =   ----    ----
   FAR CONST SIZE   =   ----    ----
END OF MODULE INFORMATION.


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