⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timer3_init.lst

📁 基于8051F单片机,实现1024点的FFT 用C 语言实现的.效果与FPGA实现相同.
💻 LST
字号:
C51 COMPILER V8.02   TIMER3_INIT                                                           05/09/2008 16:30:15 PAGE 1   


C51 COMPILER V8.02, COMPILATION OF MODULE TIMER3_INIT
OBJECT MODULE PLACED IN TIMER3_Init.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE TIMER3_Init.c BROWSE DEBUG OBJECTEXTEND

line level    source

   1          
   2          #include "FFT_Code_Tables.h"
   3          //-----------------------------------------------------------------------------
   4          // TIMER3_Init
   5          //-----------------------------------------------------------------------------
   6          //
   7          // Configure Timer3 to auto-reload at interval specified by <counts> (no
   8          // interrupt generated) using SYSCLK as its time base.
   9          //
  10          void TIMER3_Init (int counts)
  11          {
  12   1         char old_SFRPAGE = SFRPAGE;      // Save Current SFR page
*** ERROR C202 IN LINE 12 OF TIMER3_INIT.C: 'SFRPAGE': undefined identifier
  13   1      
  14   1         SFRPAGE = TMR3_PAGE;             // Switch to Timer3 Setup Page
*** ERROR C202 IN LINE 14 OF TIMER3_INIT.C: 'SFRPAGE': undefined identifier
  15   1      
  16   1         TMR3CN = 0x00;                   // Stop Timer3; Clear TF3
*** ERROR C202 IN LINE 16 OF TIMER3_INIT.C: 'TMR3CN': undefined identifier
  17   1         TMR3CF = 0x08;                   // use SYSCLK as timebase
*** ERROR C202 IN LINE 17 OF TIMER3_INIT.C: 'TMR3CF': undefined identifier
  18   1      
  19   1         RCAP3  = -counts;                // Init reload values
*** ERROR C202 IN LINE 19 OF TIMER3_INIT.C: 'RCAP3': undefined identifier
  20   1         TMR3    = 0xffff;                // set to reload immediately
*** ERROR C202 IN LINE 20 OF TIMER3_INIT.C: 'TMR3': undefined identifier
  21   1         EIE2   &= ~0x01;                 // disable Timer3 interrupts
*** ERROR C202 IN LINE 21 OF TIMER3_INIT.C: 'EIE2': undefined identifier
  22   1         TR3 = 0x01;                      // start Timer3
*** ERROR C202 IN LINE 22 OF TIMER3_INIT.C: 'TR3': undefined identifier
  23   1      
  24   1         SFRPAGE = old_SFRPAGE;           // restore SFRPAGE
*** ERROR C202 IN LINE 24 OF TIMER3_INIT.C: 'SFRPAGE': undefined identifier
  25   1      }

C51 COMPILATION COMPLETE.  0 WARNING(S),  9 ERROR(S)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -