C51 COMPILER V9.60.0.0 INTERRUPT 03/28/2026 16:50:47 PAGE 1 C51 COMPILER V9.60.0.0, COMPILATION OF MODULE INTERRUPT OBJECT MODULE PLACED IN .\hex\interrupt.obj COMPILER INVOKED BY: C:\keil5\C51\BIN\C51.EXE interrupt.c OMF2 OPTIMIZE(9,SIZE) BROWSE DEBUG PRINT(.\lst\interrupt.lst) -TABS(2) OBJECT(.\hex\interrupt.obj) line level source 1 #ifndef _INTERRUPT_C_ 2 #define _INTERRUPT_C_ 3 4 /********************************************************************************************************* -************/ 5 #include "ca51f5_config.h" 6 #include "includes\ca51f5sfr.h" 7 #include "includes\ca51f5xsfr.h" 8 #include "includes\gpiodef_f5.h" 9 #include "includes\system.h" 10 #include "Library\includes\uart.h" 11 #include "Library\Includes\tmc.h" 12 13 #include "TS_Lib\Includes\ts_configuration.h" 14 #include "TS_Lib\Includes\ts_def.h" 15 #include "TS_Lib\Includes\ts_api.h" 16 #include "TS_Lib\Includes\ts_service.h" 17 #include 18 19 #include "rf_send.h" 20 21 22 #if DEBUG #include "Library\Includes\i2c.h" void I2C_ISR(void); #endif 26 /********************************************************************************************************* -************/ 27 extern unsigned char xdata TS_HalfSecCnt; 28 void INT2_Handler (void) interrupt 4 29 { 30 1 #ifdef UART0_EN if(RI0) { UART0_RX_ISR(); } if(TI0) { UART0_TX_ISR(); } #endif 40 1 } 41 42 void INT3_ISR (void) interrupt 5 43 { 44 1 static unsigned char TmCnt = 0; 45 1 if(TMCON & TMF) //ºÁÃëÖÐ¶Ï 46 1 { 47 2 TMCON |= TMF; 48 2 #if SUPPORT_TOUCH_SLEEP_MODE if(TS_SleepMode) { TS_HalfSecCnt++; return; C51 COMPILER V9.60.0.0 INTERRUPT 03/28/2026 16:50:47 PAGE 2 } else { TS_MS_ISR(); } #else 59 2 TS_MS_ISR(); 60 2 #endif 61 2 if(TS_LongKeyTimer) 62 2 { 63 3 TS_LongKeyTimer--; 64 3 } 65 2 TmCnt++; 66 2 if(TmCnt >= 128) 67 2 { 68 3 TmCnt = 0; 69 3 TS_HS_ISR(); 70 3 } 71 2 if(RF_Time<250)RF_Time++; //4ms 72 2 } 73 1 #if SUPPORT_TOUCH_SLEEP_MODE if(TS_SleepMode) { return; } #endif 79 1 if(TKIF != 0) 80 1 { 81 2 TS_ISR(); 82 2 } 83 1 } 84 void INT4_ISR(void) interrupt 6 85 { 86 1 #if DEBUG if(I2CFLG & I2CF) { I2C_ISR(); } #endif 92 1 } 93 #endif MODULE INFORMATION: STATIC OVERLAYABLE CODE SIZE = 132 ---- CONSTANT SIZE = ---- ---- XDATA SIZE = ---- ---- PDATA SIZE = ---- ---- DATA SIZE = 1 ---- 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)