ZDBMS/output/InterruptApp.lst

99 lines
4.2 KiB
Plaintext
Raw Normal View History

2025-02-06 07:35:32 +00:00
C51 COMPILER V9.01 INTERRUPTAPP 02/06/2025 15:28:45 PAGE 1
C51 COMPILER V9.01, COMPILATION OF MODULE INTERRUPTAPP
OBJECT MODULE PLACED IN .\output\InterruptApp.obj
COMPILER INVOKED BY: D:\Tool\Keil\C51\BIN\C51.EXE code_app\InterruptApp.c LARGE OPTIMIZE(7,SIZE) REGFILE(.\output\MCUCor
-e_Load.ORC) BROWSE INTVECTOR(0X1000) INCDIR(.\header_app;.\header_drv;.\code_gasguage;.\code_classb\iec60730_lib\include
-;.\code_classb\iec60730_proc\Include;.\code_classb\config) DEBUG OBJECTEXTEND PRINT(.\output\InterruptApp.lst) OBJECT(.\
-output\InterruptApp.obj)
line level source
1 /********************************************************************************
2 Copyright (C), Sinowealth Electronic. Ltd.
3 Author: Sino
4 Version: V0.0
5 Date: 2020/04/26
6 History:
7 V2.0 2020/04/26 Preliminary
8 ********************************************************************************/
9 #include "Main.h"
10
11
12 BOOL bTimer5msFlg;
13 BOOL bTimer50msFlg;
14 BOOL bTimer1sFlg;
15 U8 ucTimer50ms;
16 U8 ucTimer1s;
17
18 /*************************************************************************************************
19 * <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: InterruptINT4App
20 * <20><> <20><>: IntSource<63><65><EFBFBD>ⲿ<EFBFBD>ж<EFBFBD>4<EFBFBD><34><EFBFBD>ж<EFBFBD>Դ
21 * <20><><EFBFBD><EFBFBD>ֵ: <20><>
22 * <20><> <20><>: <20>ⲿ<EFBFBD>жϴ<D0B6><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ALARM<52>жϺͰ<CFBA><CDB0><EFBFBD><EFBFBD>жϣ<D0B6><CFA3><EFBFBD><EFBFBD>ڵ͹<DAB5><CDB9>Ļ<EFBFBD><C4BB><EFBFBD>ϵͳ
23 *************************************************************************************************/
24 void InterruptINT4App(U8 IntSource)
25 {
26 1 if(IntSource == INT4_EXS45) //Alarm
27 1 {
28 2 if(bPDFlg || bSleepFlg)
29 2 {
30 3 McuClockSet(MCU_CLK_24MHz);
31 3 bWakeupFlg = 1;
32 3 }
33 2 }
34 1 else if(IntSource == INT4_EXS46) //Key wakeup
35 1 {
36 2 if(bPDFlg || bSleepFlg)
37 2 {
38 3 McuClockSet(MCU_CLK_24MHz);
39 3 bWakeupFlg = 1;
40 3 }
41 2 }
42 1 }
43
44
45 /*************************************************************************************************
46 * <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: InterruptTimer3App
47 * <20><> <20><>: <20><>
48 * <20><><EFBFBD><EFBFBD>ֵ: <20><>
49 * <20><> <20><>: <20><>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ5mS<6D><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD>5mS<6D><53>50mS<6D><53>1S<31><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־
50 *************************************************************************************************/
51 void InterruptTimer3App(void)
52 {
C51 COMPILER V9.01 INTERRUPTAPP 02/06/2025 15:28:45 PAGE 2
53 1
54 1 bTimer5msFlg = 1; //5ms<6D><73>־ΪԤ<CEAA><D4A4><EFBFBD><EFBFBD>־
55 1
56 1 if(++ucTimer50ms >= TIME_5MS_50MS)
57 1 {
58 2 ucTimer50ms = 0;
59 2 bTimer50msFlg = 1;
60 2 }
61 1
62 1 if(++ucTimer1s >= TIME_5MS_1S)
63 1 {
64 2 ucTimer1s = 0;
65 2 bTimer1sFlg = 1;
66 2 }
67 1
68 1 KeyScan(); //ɨ<><EFBFBD><E8B0B4>
69 1 }
70
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 72 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = 2 ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = 3 ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)