otimer.lst

来自「端点批量传输 eerom的读写 固件自动下载 USB标准请求 GPIF单字节读」· LST 代码 · 共 33 行

LST
33
字号
C51 COMPILER V7.02b   OTIMER                                                               06/13/2004 13:35:25 PAGE 1   


C51 COMPILER V7.02b, COMPILATION OF MODULE OTIMER
OBJECT MODULE PLACED IN OTimer.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE OTimer.c BROWSE DEBUG OBJECTEXTEND

stmt level    source

   1          /************************************************
   2          Name      : OTimer.c
   3          Describ   : 定时器
   4          CreateBy  : 彭恩文
   5          LastModify: 彭恩文
   6          modified by , 11/2/2003
   7          *************************************************/
   8          #include "fx2.h"
   9          #include "fx2regs.h"
  10          #include "OTimer.h"
  11          #include "led.h"
  12          
  13          #define OTimer_Macro_MaxLogicTimerNum  8   /*最大逻辑定时器数量*/
  14          
  15          
  16          #define OTimer_Macro_1msTH    0xD1    /*CLKOUT(48M)/4,24M晶振,1ms定时器中断定时值*/
  17          #define OTimer_Macro_1msTL    0x20    /*1ms定时器中断定时值*/
  18          
  19          #define OK                    1
  20          #define ERROR                 0
  21          
  22          #define IDLE                  PCON |= 1
  23          
  24          BYTE   OTimer_RD_1msCounter ;      //1ms 计数

⌨️ 快捷键说明

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