C51 COMPILER V9.54   MAIN                                                                  12/03/2024 14:58:46 PAGE 1   


C51 COMPILER V9.54, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN .\Objects\main.obj
COMPILER INVOKED BY: C:\Keil_v5\C51\BIN\C51.EXE main.c OPTIMIZE(8,SPEED) BROWSE INCDIR(.\public) DEBUG OBJECTEXTEND PRIN
                    -T(.\Listings\main.lst) OBJECT(.\Objects\main.obj)

line level    source

   1          #include "main.h"
   2          #include "timer3.h"
   3          //#define IO
   4          //#define TIMER2
   5          //#define UART
   6          //#define ADC
   7          //#define PWM
   8          //#define EEPROM    
   9          //#define LCD      
  10          //#define REM
  11          //#define WT
  12          //#define EINT
  13          #define TIMER3
  14          void main(void)
  15          {
  16   1      
  17   1              #ifdef IO
                      IO_Test();      //IO 翻转测试
                      #endif  
  20   1              #ifdef TIMER2
                      Timer2_Test();  //P10输出频率为1kHz的方波
                      #endif
  23   1              #ifdef UART
                      Uart_Test();            //波特率9600，将收到的数据发送出来
                      #endif
  26   1              #ifdef ADC                      //uart 接收到'0','1','2','3'，软件触发一次ADC，并将相应通道的转换值通过uart发送出来
                      ADC_Test();
                      #endif
  29   1              #ifdef PWM
                      PWM_Test();               //PWM0，1，2，3输出设定PWM    
                      #endif
  32   1              #ifdef EEPROM
                      EEPROM_Test();   //在EEPROM 10地址写0x47，然后读取，通过串口将读出的值打印出来
                      #endif
  35   1              #ifdef LCD
                      LCD_Test();   //
                      #endif
  38   1              #ifdef REM
                      REM_Test();               // 
                      #endif
  41   1              #ifdef WT
                      WT_Test();              //
                      #endif
  44   1              #ifdef EINT
                      EINT_Test();            //外部中断0选择P07输入，外部中断1选择P21输入，INT4选择引脚P10 对应亮起LED灯
                      #endif
  47   1              #ifdef TIMER3
  48   1              Timer3_Test();          //
  49   1              #endif
  50   1      }
  51          
  52          
  53          
  54          
C51 COMPILER V9.54   MAIN                                                                  12/03/2024 14:58:46 PAGE 2   

  55          
  56          
  57          
  58          
  59          
  60          
  61          
  62          
  63          
  64          
  65          
  66          
  67          
  68          
  69          
  70          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =      3    ----
   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)
