TimerDelay.LST
上传用户:gxz1972
上传日期:2019-09-13
资源大小:323k
文件大小:2k
- C51 COMPILER V7.02b TIMERDELAY 11/30/2007 14:07:15 PAGE 1
- C51 COMPILER V7.02b, COMPILATION OF MODULE TIMERDELAY
- OBJECT MODULE PLACED IN TimerDelay.OBJ
- COMPILER INVOKED BY: C:KeilC51BINc51.exe TimerDelay.c DB OE
- stmt level source
- 1 /************************************************
- 2 Delay subroutine
- 3 Copyright 2006 by Vson. All rights reserved.
- 4 Author: Bryan Cai
- 5 Date: 2006.12.21
- 6 Description: soft delay
- 7 Note:
- 8 Identifier abbreviation:
- 9 c-const
- 10 a-array
- 11 p-pointer
- 12 g-global
- 13 uc-unsigned char
- 14 w-unsigned int
- 15 cnt-count
- 16 pnt-point
- 17 Update:
- 18 2006.12.21 Bryan program header
- 19 ************************************************/
- 20
- 21 #include "Include_H.h"
- 22 //---------------------------------
- 23
- 24 /*
- 25 void DelayMs(unsigned int wDelay10msCount)
- 26 {
- 27 gwDelayCnt = wDelay10msCount;
- 28 IE |= 0x20;
- 29
- 30 while(gwDelayCnt);
- 31
- 32 IE &= ~0x20;
- 33 }
- 34 */
- 35 void StartTimer2(unsigned int wDelay10msCount)
- 36 {
- 37 1 gwDelayCnt = wDelay10msCount;
- 38 1 IE |= 0x20;
- 39 1 }
- 40
- 41 void StopTimer2(void)
- 42 {
- 43 1 IE &= ~0x20;
- 44 1 }
- MODULE INFORMATION: STATIC OVERLAYABLE
- CODE SIZE = 15 ----
- CONSTANT SIZE = ---- ----
- XDATA SIZE = ---- ----
- PDATA SIZE = ---- ----
- DATA SIZE = ---- ----
- IDATA SIZE = ---- ----
- BIT SIZE = ---- ----
- END OF MODULE INFORMATION.
- C51 COMPILER V7.02b TIMERDELAY 11/30/2007 14:07:15 PAGE 2
- C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)