?? io.lst
字號:
199 1 /// P2.12 - P2.15 output driver characteristic: strong driver
200 1
201 1 /// P2.8 - P2.11 output edge characteristic: sharp edge mode
202 1 /// P2.12 - P2.15 output edge characteristic: sharp edge mode
203 1
204 1 ODP2 = 0x0000; // load open-drain register
205 1 P2 = 0x0000; // load data register
206 1 ALTSEL0P2 = 0x0000; // load alternate output function select
207 1 // register 0
208 1 POCON2 = 0x0000; // load output control register
209 1 DP2 = 0x0000; // load direction register
210 1
211 1 /// -----------------------------------------------------------------------
212 1 /// Configuration of Port P3:
213 1 /// -----------------------------------------------------------------------
214 1 /// P3.4 is used as alternate input for the Timer 3 Count Input (T3EUD)
215 1 /// P3.6 is used as alternate input for the Timer 3 Count Input (T3IN)
216 1 /// P3.10 is used as alternate output for the ASC Transmit Data Output
217 1 /// (TxDA0)
218 1 /// - push/pull output is selected
219 1 /// P3.11 is used as alternate input for the ASC0 Receive data Input
220 1 /// (RxDA0)
221 1
222 1 /// P3.0 - P3.7 threshold type: TTL input
223 1 /// P3.8 - P3.15 threshold type: TTL input
224 1
225 1 /// P3.0 - P3.3 output driver characteristic: strong driver
226 1 /// P3.4 - P3.7 output driver characteristic: strong driver
227 1 /// P3.8 - P3.11 output driver characteristic: strong driver
228 1 /// P3.12 - P3.15 output driver characteristic: strong driver
229 1
230 1 /// P3.0 - P3.3 output edge characteristic: sharp edge mode
231 1 /// P3.4 - P3.7 output edge characteristic: sharp edge mode
232 1 /// P3.8 - P3.11 output edge characteristic: sharp edge mode
233 1 /// P3.12 - P3.15 output edge characteristic: sharp edge mode
234 1
235 1 ODP3 = 0x0000; // load open-drain register
236 1 P3 = 0x0000; // load data register
237 1 ALTSEL0P3 = 0x0000; // load alternate output function select
238 1 // register 0
239 1 ALTSEL1P3 = 0x0000; // load alternate output function select
240 1 // register 1
241 1 POCON3 = 0x0000; // load output control register
C166 COMPILER V6.04, IO 07/02/2007 15:03:31 PAGE 5
242 1 DP3 = 0x0000; // load direction register
243 1
244 1 /// -----------------------------------------------------------------------
245 1 /// Configuration of Port P4:
246 1 /// -----------------------------------------------------------------------
247 1 /// P4.0 is used as alternate input for the Port Pin (A16)
248 1 /// P4.1 is used as alternate input for the Port Pin (A17)
249 1
250 1 /// P4.0 - P4.7 threshold type: TTL input
251 1
252 1 /// P4.0 - P4.3 output driver characteristic: strong driver
253 1 /// P4.4 - P4.7 output driver characteristic: strong driver
254 1
255 1 /// P4.0 - P4.3 output edge characteristic: sharp edge mode
256 1 /// P4.4 - P4.7 output edge characteristic: sharp edge mode
257 1
258 1 ODP4 = 0x0000; // load open-drain register
259 1 P4 = 0x0000; // load data register
260 1 ALTSEL0P4 = 0x0000; // load alternate output function select
261 1 // register 0
262 1 ALTSEL1P4 = 0x0000; // load alternate output function select
263 1 // register 1
264 1 POCON4 = 0x0000; // load output control register
265 1 DP4 = 0x0000; // load direction register
266 1
267 1 /// -----------------------------------------------------------------------
268 1 /// Configuration of Port P5:
269 1 /// -----------------------------------------------------------------------
270 1 /// - no pin of port P5 is used
271 1
272 1 P5 = 0x0000; // load data register
273 1
274 1 /// -----------------------------------------------------------------------
275 1 /// Configuration of Port P6:
276 1 /// -----------------------------------------------------------------------
277 1 /// P6.0 is used as alternate input for the Chip select (CS0_n)
278 1 /// P6.1 is used as alternate input for the Chip select (CS1_n)
279 1 /// P6.2 is used as alternate output for the CAPCOM1 Output (CC2IO)
280 1 /// - push/pull output is selected
281 1 /// P6.3 is used as alternate output for the CAPCOM1 Output (CC3IO)
282 1 /// - push/pull output is selected
283 1 /// P6.4 is used as alternate output for the CAPCOM1 Output (CC4IO)
284 1 /// - push/pull output is selected
285 1
286 1 /// P6.0 - P6.7 threshold type: TTL input
287 1
288 1 /// P6.0 - P6.3 output driver characteristic: strong driver
289 1 /// P6.4 - P6.7 output driver characteristic: strong driver
290 1
291 1 /// P6.0 - P6.3 output edge characteristic: sharp edge mode
292 1 /// P6.4 - P6.7 output edge characteristic: sharp edge mode
293 1
294 1 ODP6 = 0x0000; // load open-drain register
295 1 P6 = 0x0000; // load data register
296 1 ALTSEL0P6 = 0x0000; // load alternate output function select
297 1 // register 0
298 1 POCON6 = 0x0000; // load output control register
299 1 DP6 = 0x0000; // load direction register
300 1
301 1 /// -----------------------------------------------------------------------
302 1 /// Configuration of Port P7:
303 1 /// -----------------------------------------------------------------------
C166 COMPILER V6.04, IO 07/02/2007 15:03:31 PAGE 6
304 1 /// P7.4 is used as general purpose output
305 1 /// - push/pull output is selected
306 1 /// - the pin status is low level
307 1 /// P7.5 is used as general purpose output
308 1 /// - push/pull output is selected
309 1 /// - the pin status is low level
310 1 /// P7.6 is used as general purpose output
311 1 /// - push/pull output is selected
312 1 /// - the pin status is low level
313 1 /// P7.7 is used as general purpose output
314 1 /// - push/pull output is selected
315 1 /// - the pin status is low level
316 1
317 1 /// P7.0 - P7.7 threshold type: TTL input
318 1
319 1 /// P7.0 - P7.3 output driver characteristic: strong driver
320 1 /// P7.4 - P7.7 output driver characteristic: strong driver
321 1
322 1 /// P7.0 - P7.3 output edge characteristic: sharp edge mode
323 1 /// P7.4 - P7.7 output edge characteristic: sharp edge mode
324 1
325 1 ODP7 = 0x0000; // load open-drain register
326 1 P7 = 0x0000; // load data register
327 1 ALTSEL0P7 = 0x0000; // load alternate output function select
328 1 // register 0
329 1 ALTSEL1P7 = 0x0000; // load alternate output function select
330 1 // register 1
331 1 POCON7 = 0x0000; // load output control register
332 1 DP7 = 0x00F0; // load direction register
333 1
334 1 /// -----------------------------------------------------------------------
335 1 /// Configuration of Port P9:
336 1 /// -----------------------------------------------------------------------
337 1 /// P9.4 is used as general purpose output
338 1 /// - push/pull output is selected
339 1 /// - the pin status is low level
340 1 /// P9.5 is used as general purpose output
341 1 /// - push/pull output is selected
342 1 /// - the pin status is low level
343 1
344 1 /// P9.0 - P9.7 threshold type: TTL input
345 1
346 1 /// P9.0 - P9.3 output driver characteristic: strong driver
347 1 /// P9.4 - P9.7 output driver characteristic: strong driver
348 1
349 1 /// P9.0 - P9.3 output edge characteristic: sharp edge mode
350 1 /// P9.4 - P9.7 output edge characteristic: sharp edge mode
351 1
352 1 ODP9 = 0x0000; // load open-drain register
353 1 P9 = 0x0000; // load data register
354 1 ALTSEL0P9 = 0x0000; // load alternate output function select
355 1 // register 0
356 1 ALTSEL1P9 = 0x0000; // load alternate output function select
357 1 // register 1
358 1 POCON9 = 0x0000; // load output control register
359 1 DP9 = 0x0030; // load direction register
360 1
361 1 /// -----------------------------------------------------------------------
362 1 /// Configuration of Port P20:
363 1 /// -----------------------------------------------------------------------
364 1 /// - no pin of port P20 is used
365 1
C166 COMPILER V6.04, IO 07/02/2007 15:03:31 PAGE 7
366 1 P20 = 0x0000; // load data register
367 1 POCON20 = 0x0000; // load output control register
368 1 DP20 = 0x0000; // load direction register
369 1
370 1
371 1 // USER CODE BEGIN (IO_Function,3)
372 1 P9=0x0010; // SET PORT 9.4 OUTPUT LATCH
373 1 // USER CODE END
374 1
375 1 } // End of function IO_vInit
376
377
378
379
380 // USER CODE BEGIN (IO_General,10)
381
382 // USER CODE END
383
MODULE INFORMATION: INITIALIZED UNINITIALIZED
CODE SIZE = 250 --------
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)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -