⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hal_wait.lst

📁 CC2420+pic,很好用的程序啊,适合初学者,绝对没有问题的,快来下载啊
💻 LST
字号:
   1               		.file	"hal_wait.c"
   2               		.arch atmega128
   3               	__SREG__ = 0x3f
   4               	__SP_H__ = 0x3e
   5               	__SP_L__ = 0x3d
   6               	__tmp_reg__ = 0
   7               	__zero_reg__ = 1
   8               		.global __do_copy_data
   9               		.global __do_clear_bss
  12               		.text
  13               	.Ltext0:
  91               	.global	halWait
  93               	halWait:
   1:../../../lib/hal/atmega128/hal_wait.c **** /**************************************************************************************************
   2:../../../lib/hal/atmega128/hal_wait.c ****  *                                                                                                 
   3:../../../lib/hal/atmega128/hal_wait.c ****  *        **********                                                                               
   4:../../../lib/hal/atmega128/hal_wait.c ****  *       ************                                                                              
   5:../../../lib/hal/atmega128/hal_wait.c ****  *      ***        ***                                                                             
   6:../../../lib/hal/atmega128/hal_wait.c ****  *      ***   +++   ***                                                                            
   7:../../../lib/hal/atmega128/hal_wait.c ****  *      ***   + +   ***                                                                            
   8:../../../lib/hal/atmega128/hal_wait.c ****  *      ***   +                        CHIPCON HARDWARE ABSTRACTION LIBRARY FOR THE CC2420         
   9:../../../lib/hal/atmega128/hal_wait.c ****  *      ***   + +   ***                                   Idle looping                             
  10:../../../lib/hal/atmega128/hal_wait.c ****  *      ***   +++   ***                                                                            
  11:../../../lib/hal/atmega128/hal_wait.c ****  *      ***        ***                                                                             
  12:../../../lib/hal/atmega128/hal_wait.c ****  *       ************                                                                              
  13:../../../lib/hal/atmega128/hal_wait.c ****  *        **********                                                                               
  14:../../../lib/hal/atmega128/hal_wait.c ****  *                                                                                                 
  15:../../../lib/hal/atmega128/hal_wait.c ****  **************************************************************************************************
  16:../../../lib/hal/atmega128/hal_wait.c ****  * The Chipcon Hardware Abstraction Library is a collection of functions, macros and constants, whi
  17:../../../lib/hal/atmega128/hal_wait.c ****  * can be used to ease access to the hardware on the CC2420 and the target microcontroller.        
  18:../../../lib/hal/atmega128/hal_wait.c ****  *                                                                                                 
  19:../../../lib/hal/atmega128/hal_wait.c ****  * This function contains a function for idle looping with millisecond resolution.                 
  20:../../../lib/hal/atmega128/hal_wait.c ****  **************************************************************************************************
  21:../../../lib/hal/atmega128/hal_wait.c ****  * Compiler: AVR-GCC                                                                               
  22:../../../lib/hal/atmega128/hal_wait.c ****  * Target platform: CC2420DB, CC2420 + any ATMEGA MCU                                              
  23:../../../lib/hal/atmega128/hal_wait.c ****  **************************************************************************************************
  24:../../../lib/hal/atmega128/hal_wait.c ****  * Revision history:                                                                               
  25:../../../lib/hal/atmega128/hal_wait.c ****  * $Log: hal_wait.c,v $
  26:../../../lib/hal/atmega128/hal_wait.c ****  * Revision 1.2  2004/03/30 14:59:50  mbr
  27:../../../lib/hal/atmega128/hal_wait.c ****  * Release for web
  28:../../../lib/hal/atmega128/hal_wait.c ****  *  
  29:../../../lib/hal/atmega128/hal_wait.c ****  *
  30:../../../lib/hal/atmega128/hal_wait.c ****  *
  31:../../../lib/hal/atmega128/hal_wait.c ****  **************************************************************************************************
  32:../../../lib/hal/atmega128/hal_wait.c **** #include <include.h>
  33:../../../lib/hal/atmega128/hal_wait.c **** 
  34:../../../lib/hal/atmega128/hal_wait.c **** 
  35:../../../lib/hal/atmega128/hal_wait.c **** //-------------------------------------------------------------------------------------------------
  36:../../../lib/hal/atmega128/hal_wait.c **** //	void halWait(UINT16 timeout)
  37:../../../lib/hal/atmega128/hal_wait.c **** //
  38:../../../lib/hal/atmega128/hal_wait.c **** //	DESCRIPTION:
  39:../../../lib/hal/atmega128/hal_wait.c **** //		Runs an idle loop for [timeout] microseconds.
  40:../../../lib/hal/atmega128/hal_wait.c **** //
  41:../../../lib/hal/atmega128/hal_wait.c **** //  ARGUMENTS:
  42:../../../lib/hal/atmega128/hal_wait.c **** //      UINT16 timeout
  43:../../../lib/hal/atmega128/hal_wait.c **** //          The timeout in microseconds
  44:../../../lib/hal/atmega128/hal_wait.c **** //-------------------------------------------------------------------------------------------------
  45:../../../lib/hal/atmega128/hal_wait.c **** void halWait(UINT16 timeout) {
  95               	.LM1:
  96               	/* prologue: frame size=0 */
  97               	/* prologue end (size=0) */
  98               	.L2:
  46:../../../lib/hal/atmega128/hal_wait.c **** 
  47:../../../lib/hal/atmega128/hal_wait.c ****     // This sequence uses exactly 8 clock cycle for each round
  48:../../../lib/hal/atmega128/hal_wait.c ****     do {
  49:../../../lib/hal/atmega128/hal_wait.c ****         NOP();
 100               	.LM2:
 101               	/* #APP */
 102 0000 0000      		nop
 103               		
  50:../../../lib/hal/atmega128/hal_wait.c ****         NOP();
 105               	.LM3:
 106 0002 0000      		nop
 107               		
  51:../../../lib/hal/atmega128/hal_wait.c ****         NOP();
 109               	.LM4:
 110 0004 0000      		nop
 111               		
  52:../../../lib/hal/atmega128/hal_wait.c ****         NOP();
 113               	.LM5:
 114 0006 0000      		nop
 115               		
  53:../../../lib/hal/atmega128/hal_wait.c ****     } while (--timeout);
 117               	.LM6:
 118               	/* #NOAPP */
 119 0008 0197      		sbiw r24,1
 120 000a D1F7      		brne .L2
 121               	/* epilogue: frame size=0 */
 122 000c 0895      		ret
 123               	/* epilogue end (size=1) */
 124               	/* function halWait size 20 (19) */
 126               	.Lscope0:
 128               		.text
 130               	Letext:
 131               	/* File "../../../lib/hal/atmega128/hal_wait.c": code   20 = 0x0014 (  19), prologues   0, epilogue
DEFINED SYMBOLS
                            *ABS*:00000000 hal_wait.c
                            *ABS*:0000003f __SREG__
                            *ABS*:0000003e __SP_H__
                            *ABS*:0000003d __SP_L__
                            *ABS*:00000000 __tmp_reg__
                            *ABS*:00000001 __zero_reg__
C:\DOCUME~1\zx\LOCALS~1\Temp/ccEhaaaa.s:93     .text:00000000 halWait
C:\DOCUME~1\zx\LOCALS~1\Temp/ccEhaaaa.s:130    .text:0000000e Letext

UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -