ct_test/Keil_C/List/main.lst

90 lines
3.9 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.

C51 COMPILER V9.59.0.0 MAIN 01/18/2024 10:03:08 PAGE 1
C51 COMPILER V9.59.0.0, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN ..\Output\main.obj
COMPILER INVOKED BY: D:\Keil_v5\C51\BIN\C51.EXE ..\User\main.c LARGE OBJECTADVANCED OPTIMIZE(8,SIZE) BROWSE INCDIR(..\FW
-Lib\SC92F_Lib\inc;..\User;..\Apps;..\Apps;..\User) DEFINE(SC92F836xB) DEBUG PRINT(..\List\main.lst) OBJECT(..\Output\mai
-n.obj)
line level source
1 //************************************************************
2 // Copyright (c)
3 // FileName : main.c
4 // Module Function :
5 // Instructions : Contains the MCU initialization function and its H file
6 //************************************************************
7 /********************Includes************************************************************************/
8 #include "SC_Init.h" //MCU Init header£¬Include all IC resource headers
9 #include "SC_it.h"
10 #include "..\Drivers\SCDriver_list.h"
11 #include "HeadFiles\SysFunVarDefine.h"
12
13 #include <SC92F836xB_C.H>
14 #include "test.h"
15 #include "uart1.h"
16 #include "motor.h"
17 #include "adc.h"
18
19 /**************************************Generated by EasyCodeCube*************************************/
20
21
22 /*************************************.Generated by EasyCodeCube.************************************/
23 /*****************************************************************************************************
24 * Function Name: main
25 * Description : This function implements main function.
26 * Arguments : None
27 * Return Value : None
28 ******************************************************************************************************/
29 void main(void)
30 {
31 1 SC_Init(); /*** MCU init***/
32 1 InitUart_Data();//´®¿ÚÊý¾Ý³õʼ»¯
33 1
34 1 /*****MainLoop*****/
35 1 while(1)
36 1 {
37 2 /*<UserCodeStart>*//*<SinOne-Tag><5>*/
38 2 //Êý¾Ý½ÓÊÕ·ÖÎö(·ÅÖôóÑ­»·ÄÚ)
39 2 Deal_Uart_Data_For_Module();
40 2
41 2 //´¦Àíµç»úÔËÐи÷ÖÖģʽ
42 2 Deal_Motor();//Ò»°ã²ÉÓÃ1-5ºÁÃë
43 2
44 2 //²É¼¯ADCÊý¾Ý
45 2 if(it_10ms_flag == 1)//10ºÁÃë
46 2 {
47 3 it_10ms_flag = 0;
48 3 ADC_Multichannel();//ADCÊý¾Ý²É¼¯
49 3 }
50 2
51 2 //ÔËÐÐָʾµÆ
52 2 led_test();
53 2
C51 COMPILER V9.59.0.0 MAIN 01/18/2024 10:03:08 PAGE 2
54 2 }
55 1 }
56
57
58
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 29 ----
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)