📄 io.lst
字号:
C51 COMPILER V8.04b IO 04/26/2008 19:04:54 PAGE 1
C51 COMPILER V8.04b, COMPILATION OF MODULE IO
OBJECT MODULE PLACED IN IO.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE IO.C BROWSE DEBUG OBJECTEXTEND
line level source
1 //****************************************************************************
2 // @Module GPIO
3 // @Filename IO.C
4 // @Project ADC.dav
5 //----------------------------------------------------------------------------
6 // @Controller Infineon XC888CLM-8FF
7 //
8 // @Compiler Keil
9 //
10 // @Codegenerator 1.4
11 //
12 // @Description: This file contains functions that use the IO module.
13 //
14 //----------------------------------------------------------------------------
15 // @Date 2008-3-22 上午 10:53:06
16 //
17 //****************************************************************************
18
19 // USER CODE BEGIN (IO_General,1)
20
21 // USER CODE END
22
23
24
25 //****************************************************************************
26 // @Project Includes
27 //****************************************************************************
28
29 #include "MAIN.H"
30
31 // USER CODE BEGIN (IO_General,2)
32
33 // USER CODE END
34
35
36 //****************************************************************************
37 // @Macros
38 //****************************************************************************
39
40 // USER CODE BEGIN (IO_General,3)
41
42 // USER CODE END
43
44
45 //****************************************************************************
46 // @Defines
47 //****************************************************************************
48
49 // USER CODE BEGIN (IO_General,4)
50
51 // USER CODE END
52
53
54 //****************************************************************************
55 // @Typedefs
C51 COMPILER V8.04b IO 04/26/2008 19:04:54 PAGE 2
56 //****************************************************************************
57
58 // USER CODE BEGIN (IO_General,5)
59
60 // USER CODE END
61
62
63 //****************************************************************************
64 // @Imported Global Variables
65 //****************************************************************************
66
67 // USER CODE BEGIN (IO_General,6)
68
69 // USER CODE END
70
71
72 //****************************************************************************
73 // @Global Variables
74 //****************************************************************************
75
76 // USER CODE BEGIN (IO_General,7)
77
78 // USER CODE END
79
80
81 //****************************************************************************
82 // @External Prototypes
83 //****************************************************************************
84
85 // USER CODE BEGIN (IO_General,8)
86
87 // USER CODE END
88
89
90 //****************************************************************************
91 // @Prototypes Of Local Functions
92 //****************************************************************************
93
94 // USER CODE BEGIN (IO_General,9)
95
96 // USER CODE END
97
98
99 //****************************************************************************
100 // @Function void IO_vInit(void)
101 //
102 //----------------------------------------------------------------------------
103 // @Description This is the initialization function of the IO function
104 // library. It is assumed that the SFRs used by this library
105 // are in their reset state.
106 //
107 //----------------------------------------------------------------------------
108 // @Returnvalue None
109 //
110 //----------------------------------------------------------------------------
111 // @Parameters None
112 //
113 //----------------------------------------------------------------------------
114 // @Date 2008-3-22
115 //
116 //****************************************************************************
117
C51 COMPILER V8.04b IO 04/26/2008 19:04:54 PAGE 3
118 // USER CODE BEGIN (IO_Init,1)
119
120 // USER CODE END
121
122 void IO_vInit(void)
123 {
124 1 // USER CODE BEGIN (IO_Init,2)
125 1
126 1 // USER CODE END
127 1
128 1
129 1 /// ***********************************************************************
130 1 /// Note : All peripheral related IO configurations are done in the
131 1 /// respective peripheral modules (alternate functions selection)
132 1 ///
133 1 /// If no pins are selected DAvE assumes that registers are in default
134 1 /// settings
135 1 /// ***********************************************************************
136 1
137 1 /// -----------------------------------------------------------------------
138 1 /// Configuration of Port P0:
139 1 /// -----------------------------------------------------------------------
140 1 /// - no pin of port P0 is used
141 1
142 1
143 1 /// -----------------------------------------------------------------------
144 1 /// Configuration of Port P1:
145 1 /// -----------------------------------------------------------------------
146 1 /// - no pin of port P1 is used
147 1
148 1
149 1 /// -----------------------------------------------------------------------
150 1 /// Configuration of Port P2:
151 1 /// -----------------------------------------------------------------------
152 1 /// P2.7:
153 1 /// - is used as alternate input for the Analog Input 7
154 1 /// - pull device is disabled (tristate)
155 1
156 1
157 1 /// -----------------------------------------------------------------------
158 1 /// Configuration of Port P3:
159 1 /// -----------------------------------------------------------------------
160 1 /// P3.0:
161 1 /// - is used as general purpose output
162 1 /// - push/pull output is selected
163 1 /// - the pin status is low level
164 1 /// - pull device is disabled (tristate)
165 1 /// P3.1:
166 1 /// - is used as general purpose output
167 1 /// - push/pull output is selected
168 1 /// - the pin status is low level
169 1 /// - pull device is disabled (tristate)
170 1 /// P3.2:
171 1 /// - is used as general purpose output
172 1 /// - push/pull output is selected
173 1 /// - the pin status is low level
174 1 /// - pull device is disabled (tristate)
175 1 /// P3.3:
176 1 /// - is used as general purpose output
177 1 /// - push/pull output is selected
178 1 /// - the pin status is low level
179 1 /// - pull device is disabled (tristate)
C51 COMPILER V8.04b IO 04/26/2008 19:04:54 PAGE 4
180 1 /// P3.4:
181 1 /// - is used as general purpose output
182 1 /// - push/pull output is selected
183 1 /// - the pin status is low level
184 1 /// - pull device is disabled (tristate)
185 1 /// P3.5:
186 1 /// - is used as general purpose output
187 1 /// - push/pull output is selected
188 1 /// - the pin status is low level
189 1 /// - pull device is disabled (tristate)
190 1 /// P3.6:
191 1 /// - is used as general purpose output
192 1 /// - push/pull output is selected
193 1 /// - the pin status is low level
194 1 /// - pull device is disabled (tristate)
195 1 /// P3.7:
196 1 /// - is used as general purpose output
197 1 /// - push/pull output is selected
198 1 /// - the pin status is low level
199 1 /// - pull device is disabled (tristate)
200 1
201 1
202 1 P3_DIR = 0xFF; // load direction register
203 1
204 1 /// -----------------------------------------------------------------------
205 1 /// Configuration of Port P4:
206 1 /// -----------------------------------------------------------------------
207 1 /// - no pin of port P4 is used
208 1
209 1
210 1 /// -----------------------------------------------------------------------
211 1 /// Configuration of Port P5:
212 1 /// -----------------------------------------------------------------------
213 1 /// - no pin of port P5 is used
214 1
215 1
216 1
217 1 // USER CODE BEGIN (IO_Init,3)
218 1
219 1 // USER CODE END
220 1
221 1 } // End of function IO_vInit
222
223
224
225
226 // USER CODE BEGIN (IO_General,10)
227
228 // USER CODE END
229
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 4 ----
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 + -