📄 io.lst
字号:
C166 COMPILER V6.04, IO 03/31/2008 10:51:29 PAGE 4
180 1 ALTSEL0P2 = 0x0000; // load alternate output function select
181 1 // register 0
182 1 POCON2 = 0x0000; // load output control register
183 1 DP2 = 0x0000; // load direction register
184 1
185 1 /// -----------------------------------------------------------------------
186 1 /// Configuration of Port P3:
187 1 /// -----------------------------------------------------------------------
188 1 /// P3.0 is used as general purpose output
189 1 /// - push/pull output is selected
190 1 /// - the pin status is low level
191 1 /// P3.1 is used as general purpose output
192 1 /// - push/pull output is selected
193 1 /// - the pin status is low level
194 1 /// P3.2 is used as general purpose output
195 1 /// - push/pull output is selected
196 1 /// - the pin status is low level
197 1 /// P3.3 is used as general purpose output
198 1 /// - push/pull output is selected
199 1 /// - the pin status is low level
200 1 /// P3.4 is used as general purpose output
201 1 /// - push/pull output is selected
202 1 /// - the pin status is low level
203 1 /// P3.5 is used as general purpose output
204 1 /// - push/pull output is selected
205 1 /// - the pin status is low level
206 1 /// P3.6 is used as general purpose output
207 1 /// - push/pull output is selected
208 1 /// - the pin status is low level
209 1 /// P3.7 is used as general purpose output
210 1 /// - push/pull output is selected
211 1 /// - the pin status is low level
212 1 /// P3.8 is used as general purpose output
213 1 /// - push/pull output is selected
214 1 /// - the pin status is low level
215 1 /// P3.9 is used as general purpose output
216 1 /// - push/pull output is selected
217 1 /// - the pin status is low level
218 1
219 1 /// P3.0 - P3.7 threshold type: TTL input
220 1 /// P3.8 - P3.15 threshold type: TTL input
221 1
222 1 /// P3.0 - P3.3 output driver characteristic: strong driver
223 1 /// P3.4 - P3.7 output driver characteristic: strong driver
224 1 /// P3.8 - P3.11 output driver characteristic: strong driver
225 1 /// P3.12 - P3.15 output driver characteristic: strong driver
226 1
227 1 /// P3.0 - P3.3 output edge characteristic: sharp edge mode
228 1 /// P3.4 - P3.7 output edge characteristic: sharp edge mode
229 1 /// P3.8 - P3.11 output edge characteristic: sharp edge mode
230 1 /// P3.12 - P3.15 output edge characteristic: sharp edge mode
231 1
232 1 ODP3 = 0x0000; // load open-drain register
233 1 P3 = 0x0000; // load data register
234 1 ALTSEL0P3 = 0x0000; // load alternate output function select
235 1 // register 0
236 1 ALTSEL1P3 = 0x0000; // load alternate output function select
237 1 // register 1
238 1 POCON3 = 0x0000; // load output control register
239 1 DP3 = 0x03FF; // load direction register
240 1
241 1 /// -----------------------------------------------------------------------
C166 COMPILER V6.04, IO 03/31/2008 10:51:29 PAGE 5
242 1 /// Configuration of Port P4:
243 1 /// -----------------------------------------------------------------------
244 1 /// P4.0 is used as alternate input for the Port Pin (A16)
245 1 /// P4.1 is used as alternate input for the Port Pin (A17)
246 1
247 1 /// P4.0 - P4.7 threshold type: TTL input
248 1
249 1 /// P4.0 - P4.3 output driver characteristic: strong driver
250 1 /// P4.4 - P4.7 output driver characteristic: strong driver
251 1
252 1 /// P4.0 - P4.3 output edge characteristic: sharp edge mode
253 1 /// P4.4 - P4.7 output edge characteristic: sharp edge mode
254 1
255 1 ODP4 = 0x0000; // load open-drain register
256 1 P4 = 0x0000; // load data register
257 1 ALTSEL0P4 = 0x0000; // load alternate output function select
258 1 // register 0
259 1 ALTSEL1P4 = 0x0000; // load alternate output function select
260 1 // register 1
261 1 POCON4 = 0x0000; // load output control register
262 1 DP4 = 0x0000; // load direction register
263 1
264 1 /// -----------------------------------------------------------------------
265 1 /// Configuration of Port P5:
266 1 /// -----------------------------------------------------------------------
267 1 /// - no pin of port P5 is used
268 1 /// - Port5 Data register P5(Read only)
269 1
270 1
271 1 /// -----------------------------------------------------------------------
272 1 /// Configuration of Port P6:
273 1 /// -----------------------------------------------------------------------
274 1 /// P6.0 is used as alternate input for the Chip select (CS0_n)
275 1 /// P6.1 is used as alternate input for the Chip select (CS1_n)
276 1
277 1 /// P6.0 - P6.7 threshold type: TTL input
278 1
279 1 /// P6.0 - P6.3 output driver characteristic: strong driver
280 1 /// P6.4 - P6.7 output driver characteristic: strong driver
281 1
282 1 /// P6.0 - P6.3 output edge characteristic: sharp edge mode
283 1 /// P6.4 - P6.7 output edge characteristic: sharp edge mode
284 1
285 1 ODP6 = 0x0000; // load open-drain register
286 1 P6 = 0x0000; // load data register
287 1 ALTSEL0P6 = 0x0000; // load alternate output function select
288 1 // register 0
289 1 POCON6 = 0x0000; // load output control register
290 1 DP6 = 0x0000; // load direction register
291 1
292 1 /// -----------------------------------------------------------------------
293 1 /// Configuration of Port P7:
294 1 /// -----------------------------------------------------------------------
295 1 /// - no pin of port P7 is used
296 1
297 1 ODP7 = 0x0000; // load open-drain register
298 1 P7 = 0x0000; // load data register
299 1 ALTSEL0P7 = 0x0000; // load alternate output function select
300 1 // register 0
301 1 ALTSEL1P7 = 0x0000; // load alternate output function select
302 1 // register 1
303 1 POCON7 = 0x0000; // load output control register
C166 COMPILER V6.04, IO 03/31/2008 10:51:29 PAGE 6
304 1 DP7 = 0x0000; // load direction register
305 1
306 1 /// -----------------------------------------------------------------------
307 1 /// Configuration of Port P9:
308 1 /// -----------------------------------------------------------------------
309 1 /// - no pin of port P9 is used
310 1
311 1 ODP9 = 0x0000; // load open-drain register
312 1 P9 = 0x0000; // load data register
313 1 ALTSEL0P9 = 0x0000; // load alternate output function select
314 1 // register 0
315 1 ALTSEL1P9 = 0x0000; // load alternate output function select
316 1 // register 1
317 1 POCON9 = 0x0000; // load output control register
318 1 DP9 = 0x0000; // load direction register
319 1
320 1 /// -----------------------------------------------------------------------
321 1 /// Configuration of Port P20:
322 1 /// -----------------------------------------------------------------------
323 1 /// - no pin of port P20 is used
324 1
325 1 P20 = 0x0000; // load data register
326 1 POCON20 = 0x0000; // load output control register
327 1 DP20 = 0x0000; // load direction register
328 1
329 1
330 1 // USER CODE BEGIN (IO_Function,3)
331 1
332 1 // USER CODE END
333 1
334 1 } // End of function IO_vInit
335
336
337
338
339 // USER CODE BEGIN (IO_General,10)
340
341 // USER CODE END
342
MODULE INFORMATION: INITIALIZED UNINITIALIZED
CODE SIZE = 242 --------
NEAR-CONST SIZE = -------- --------
FAR-CONST SIZE = -------- --------
HUGE-CONST SIZE = -------- --------
XHUGE-CONST SIZE = -------- --------
NEAR-DATA SIZE = -------- --------
FAR-DATA SIZE = -------- --------
XHUGE-DATA SIZE = -------- --------
IDATA-DATA SIZE = -------- --------
SDATA-DATA SIZE = -------- --------
BDATA-DATA SIZE = -------- --------
HUGE-DATA SIZE = -------- --------
BIT SIZE = -------- --------
INIT'L SIZE = -------- --------
END OF MODULE INFORMATION.
C166 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -