📄 display_count.lst
字号:
C51 COMPILER V6.21 DISPLAY_COUNT 01/23/2002 17:24:56 PAGE 1
C51 COMPILER V6.21, COMPILATION OF MODULE DISPLAY_COUNT
OBJECT MODULE PLACED IN Display_count.OBJ
COMPILER INVOKED BY: C:\KEIL\C51\BIN\C51.EXE Display_count.c OPTIMIZE(6,SPEED) BROWSE DEBUG OBJECTEXTEND
stmt level source
1 /*------------------------------------------------------------------*-
2
3 Display_count.C (v1.00)
4
5 ------------------------------------------------------------------
6
7 Display an unsigned char on a port.
8
9 COPYRIGHT
10 ---------
11
12 This code is associated with the book:
13
14 EMBEDDED C by Michael J. Pont
15 [Pearson Education, 2002: ISBN: 0-201-79523-X].
16
17 This code is copyright (c) 2001 by Michael J. Pont.
18
19 See book for copyright details and other information.
20
21 -*------------------------------------------------------------------*/
22
23 #include "Main.H"
24 #include "Port.H"
25
26 #include "Display_Count.H"
27
28 /*------------------------------------------------------------------*-
29
30 DISPLAY_COUNT_Init()
31
32 Initialization function for the DISPLAY COUNT library.
33
34 -*------------------------------------------------------------------*/
35 void DISPLAY_COUNT_Init(void)
36 {
37 1 Count_port = 0x00;
38 1 }
39
40 /*------------------------------------------------------------------*-
41
42 DISPLAY_COUNT_Update()
43
44 Simple function to display tByte data (COUNT)
45 on LEDs connected to port (Count_Port)
46
47 -*------------------------------------------------------------------*/
48 void DISPLAY_COUNT_Update(const tByte COUNT)
49 {
50 1 Count_port = COUNT;
51 1 }
52
53 /*------------------------------------------------------------------*-
54 ---- END OF FILE -------------------------------------------------
55 -*------------------------------------------------------------------*/
C51 COMPILER V6.21 DISPLAY_COUNT 01/23/2002 17:24:56 PAGE 2
56
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 7 ----
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)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -