led.LST
资源名称:TELEPHONE.rar [点击查看]
上传用户:woden7206
上传日期:2015-11-28
资源大小:14486k
文件大小:1k
源码类别:
单片机开发
开发平台:
MultiPlatform
- C51 COMPILER V8.08 LED 04/28/2008 13:53:52 PAGE 1
- C51 COMPILER V8.08, COMPILATION OF MODULE LED
- OBJECT MODULE PLACED IN led.OBJ
- COMPILER INVOKED BY: C:KeilC51BINC51.EXE led.c BROWSE DEBUG OBJECTEXTEND
- line level source
- 1 #include <REG52.h>
- 2 #include "LED.h"
- 3 #include"type.h"
- 4
- 5 void LED_ON(UCHAR led_O)
- 6 {
- 7 1 if(led_O==0)
- 8 1 {
- 9 2 LED0=0;
- 10 2 }
- 11 1 else
- 12 1 {
- 13 2 LED1=0;
- 14 2 }
- 15 1 }
- 16
- 17 void LED_OFF(UCHAR led_f)
- 18 {
- 19 1 if(led_f==0)
- 20 1 {
- 21 2 LED0=1;
- 22 2 }
- 23 1 else
- 24 1 {
- 25 2 LED1=1;
- 26 2 }
- 27 1 }
- MODULE INFORMATION: STATIC OVERLAYABLE
- CODE SIZE = 18 ----
- 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)