ZDBMS/output/Interrupt.lst

114 lines
4.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

C51 COMPILER V9.01 INTERRUPT 02/06/2025 15:28:45 PAGE 1
C51 COMPILER V9.01, COMPILATION OF MODULE INTERRUPT
OBJECT MODULE PLACED IN .\output\Interrupt.obj
COMPILER INVOKED BY: D:\Tool\Keil\C51\BIN\C51.EXE code_drv\Interrupt.c LARGE OPTIMIZE(7,SIZE) REGFILE(.\output\MCUCore_L
-oad.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\Interrupt.lst) OBJECT(.\output
-\Interrupt.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 /*************************************************************************************************
13 * 函数名: InterruptINT4
14 * 参 数: 无
15 * 返回值: 无
16 * 描 述: 中断入口函数判断对应的外部中断后会调用APP处理函数
17 *************************************************************************************************/
18 void InterruptINT4(void) interrupt 10
19 {
20 1 _push_(INSCON);
21 1 McuBank0Sel();
22 1
23 1 if(IF40)
24 1 {
25 2 IF40 = 0;
26 2 InterruptINT4App(0x01);
27 2 }
28 1 if(IF41)
29 1 {
30 2 IF41 = 0;
31 2 InterruptINT4App(0x02);
32 2 }
33 1 if(IF42)
34 1 {
35 2 IF42 = 0;
36 2 InterruptINT4App(0x04);
37 2 }
38 1 if(IF43)
39 1 {
40 2 IF43 = 0;
41 2 InterruptINT4App(0x08);
42 2 }
43 1 if(IF44)
44 1 {
45 2 IF44 = 0;
46 2 InterruptINT4App(0x10);
47 2 }
48 1 if(IF45)
49 1 {
50 2 IF45 = 0;
51 2 InterruptINT4App(0x20);
52 2 }
C51 COMPILER V9.01 INTERRUPT 02/06/2025 15:28:45 PAGE 2
53 1 if(IF46)
54 1 {
55 2 IF46 = 0;
56 2 InterruptINT4App(0x40);
57 2 }
58 1 if(IF47)
59 1 {
60 2 IF47 = 0;
61 2 InterruptINT4App(0x80);
62 2 }
63 1
64 1 _pop_(INSCON);
65 1 }
66
67
68 /*************************************************************************************************
69 * 函数名: InterruptTimer3
70 * 参 数: 无
71 * 返回值: 无
72 * 描 述: 中断入口函数会调用APP处理函数
73 *************************************************************************************************/
74 void InterruptTimer3(void) interrupt 5
75 {
76 1 _push_(INSCON);
77 1
78 1 McuBank1Sel();
79 1 TF3 = 0;
80 1 McuBank0Sel();
81 1
82 1 InterruptTimer3App();
83 1
84 1 _pop_(INSCON);
85 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 143 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)