C51 COMPILER V9.60.0.0 INTERRUPT 05/05/2026 17:41:51 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" *** WARNING C329 IN LINE 120 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 121 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 122 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 123 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 124 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 125 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 126 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 127 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 143 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation *** WARNING C329 IN LINE 144 OF TS_Lib\Includes\ts_configuration.h: single-line comment contains line-continuation 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 C51 COMPILER V9.60.0.0 INTERRUPT 05/05/2026 17:41:51 PAGE 2 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 49 2 if(TS_SleepMode) 50 2 { 51 3 TS_HalfSecCnt++; 52 3 return; 53 3 } 54 2 else 55 2 { 56 3 TS_MS_ISR(); 57 3 } 58 2 #else TS_MS_ISR(); #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 74 1 if(TS_SleepMode) 75 1 { 76 2 return; 77 2 } 78 1 #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 = 146 ---- CONSTANT SIZE = ---- ---- XDATA SIZE = ---- ---- PDATA SIZE = ---- ---- DATA SIZE = 1 ---- IDATA SIZE = ---- ---- BIT SIZE = ---- ---- EDATA SIZE = ---- ---- C51 COMPILER V9.60.0.0 INTERRUPT 05/05/2026 17:41:51 PAGE 3 HDATA SIZE = ---- ---- XDATA CONST SIZE = ---- ---- FAR CONST SIZE = ---- ---- END OF MODULE INFORMATION. C51 COMPILATION COMPLETE. 10 WARNING(S), 0 ERROR(S)