📄 timer3.lst
字号:
252 00a0 9061 ori r25,lo8(16)
253 00a2 9093 7D00 sts 125,r25
75:timer3.c ****
76:timer3.c **** }
77:timer3.c **** os_atomic_end(_nesc_atomic); }
255 .LM22:
256 00a6 0E94 0000 call os_atomic_end
257 .LBE3:
78:timer3.c **** return SUCCESS;
259 .LM23:
260 00aa 81E0 ldi r24,lo8(1)
261 00ac 90E0 ldi r25,hi8(1)
262 .L3:
263 /* epilogue: frame size=0 */
264 00ae CF91 pop r28
265 00b0 1F91 pop r17
266 00b2 0F91 pop r16
267 00b4 0895 ret
268 /* epilogue end (size=4) */
269 /* function Timer3_setIntervalAndScale size 51 (44) */
273 .global Timer3_sethalfsymbol
275 Timer3_sethalfsymbol:
79:timer3.c **** }
80:timer3.c ****
81:timer3.c **** void Timer3_sethalfsymbol(uint16_t symbols)
82:timer3.c **** {
277 .LM24:
278 /* prologue: frame size=0 */
279 /* prologue end (size=0) */
83:timer3.c ****
84:timer3.c **** uint16_t halfsymbols;
85:timer3.c **** halfsymbols=symbols*2;
86:timer3.c **** Timer3_setIntervalAndScale(halfsymbols, 0x5);
281 .LM25:
282 00b6 65E0 ldi r22,lo8(5)
283 00b8 880F lsl r24
284 00ba 991F rol r25
285 00bc 0E94 0000 call Timer3_setIntervalAndScale
286 /* epilogue: frame size=0 */
287 00c0 0895 ret
288 /* epilogue end (size=1) */
289 /* function Timer3_sethalfsymbol size 6 (5) */
293 .global Timer3_setInterval
295 Timer3_setInterval:
87:timer3.c ****
88:timer3.c **** }
89:timer3.c ****
90:timer3.c **** uint16_t Timer3_setInterval(uint16_t interval)
91:timer3.c **** {
297 .LM26:
298 /* prologue: frame size=0 */
299 /* prologue end (size=0) */
92:timer3.c **** uint32_t temp;
93:timer3.c **** //uint16_t temp1;
94:timer3.c **** temp=TCNT3+interval;
301 .LM27:
302 00c2 2091 8800 lds r18,136
303 00c6 3091 8900 lds r19,(136)+1
304 00ca 280F add r18,r24
305 00cc 391F adc r19,r25
306 00ce 4427 clr r20
307 00d0 5527 clr r21
95:timer3.c **** //temp1=temp;
96:timer3.c **** if (temp>=65535) temp=temp-65535;
309 .LM28:
310 00d2 2F3F cpi r18,lo8(65535)
311 00d4 8FEF ldi r24,hi8(65535)
312 00d6 3807 cpc r19,r24
313 00d8 80E0 ldi r24,hlo8(65535)
314 00da 4807 cpc r20,r24
315 00dc 80E0 ldi r24,hhi8(65535)
316 00de 5807 cpc r21,r24
317 00e0 20F0 brlo .L7
319 .LM29:
320 00e2 2F5F subi r18,lo8(-(-65535))
321 00e4 3F4F sbci r19,hi8(-(-65535))
322 00e6 4040 sbci r20,hlo8(-(-65535))
323 00e8 5040 sbci r21,hhi8(-(-65535))
324 .L7:
97:timer3.c **** return (temp);
98:timer3.c **** }...
326 .LM30:
327 00ea C901 movw r24,r18
328 /* epilogue: frame size=0 */
329 00ec 0895 ret
330 /* epilogue end (size=1) */
331 /* function Timer3_setInterval size 22 (21) */
334 .comm payload,2,1
335 .comm rssi,1003,1
336 .comm isready,1,1
337 .comm testnum,1,1
338 .comm pagenum,2,1
339 .comm prssi,2,1
340 .comm test,264,1
341 .comm tend,2,1
342 .comm OS_queue,16,1
343 .comm OS_sched_full,1,1
344 .comm OS_sched_free,1,1
345 .comm cc2420_bramspi,1,1
346 .comm cc2420_rambuf,2,1
347 .comm cc2420_ramlen,1,1
348 .comm cc2420_ramaddr,2,1
349 .comm cc2420fifo_bspi,1,1
350 .comm cc2420fifo_txbuf,2,1
351 .comm cc2420fifo_txlength,1,1
352 .comm cc2420_rxbuf,4,1
353 .comm cc2420_rxlength,1,1
354 .comm cc2420_rxbuf_now,2,1
355 .comm cc2420_rxlength_now,1,1
356 .comm cc2420_rxbufuse,1,1
357 .comm rfpackernum,1,1
358 .comm cc2420_rxflag,1,1
359 .comm cc2420_currentparameters,28,1
360 .comm demopacket,2,1
361 .comm cc2420_stateRadio,1,1
362 .comm cc2420_LocalAddr,2,1
363 .comm ieee_address,8,1
364 .comm SENSOR_DATA_VALUE,20,1
365 .comm ADC_INTERRUPT_FLAG,1,1
366 .comm flash_busy,1,1
367 .comm Timer3_set_flag,1,1
368 .comm Timer3_mscale,1,1
369 .comm Timer3_nextScale,1,1
370 .comm Timer3_minterval,2,1
408 .text
410 Letext:
411 /* File "timer3.c": code 119 = 0x0077 ( 108), prologues 3, epilogues 8 */
DEFINED SYMBOLS
*ABS*:00000000 timer3.c
*ABS*:0000003f __SREG__
*ABS*:0000003e __SP_H__
*ABS*:0000003d __SP_L__
*ABS*:00000000 __tmp_reg__
*ABS*:00000001 __zero_reg__
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccWMaaaa.s:122 .text:00000000 Timer3_intDisable
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccWMaaaa.s:152 .text:00000014 Timer3_fire
*COM*:00000002 demopacket
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccWMaaaa.s:195 .text:00000050 Timer3_setIntervalAndScale
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccWMaaaa.s:275 .text:000000b6 Timer3_sethalfsymbol
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccWMaaaa.s:295 .text:000000c2 Timer3_setInterval
*COM*:00000002 payload
*COM*:000003eb rssi
*COM*:00000001 isready
*COM*:00000001 testnum
*COM*:00000002 pagenum
*COM*:00000002 prssi
*COM*:00000108 test
*COM*:00000002 tend
*COM*:00000010 OS_queue
*COM*:00000001 OS_sched_full
*COM*:00000001 OS_sched_free
*COM*:00000001 cc2420_bramspi
*COM*:00000002 cc2420_rambuf
*COM*:00000001 cc2420_ramlen
*COM*:00000002 cc2420_ramaddr
*COM*:00000001 cc2420fifo_bspi
*COM*:00000002 cc2420fifo_txbuf
*COM*:00000001 cc2420fifo_txlength
*COM*:00000004 cc2420_rxbuf
*COM*:00000001 cc2420_rxlength
*COM*:00000002 cc2420_rxbuf_now
*COM*:00000001 cc2420_rxlength_now
*COM*:00000001 cc2420_rxbufuse
*COM*:00000001 rfpackernum
*COM*:00000001 cc2420_rxflag
*COM*:0000001c cc2420_currentparameters
*COM*:00000001 cc2420_stateRadio
*COM*:00000002 cc2420_LocalAddr
*COM*:00000008 ieee_address
*COM*:00000014 SENSOR_DATA_VALUE
*COM*:00000001 ADC_INTERRUPT_FLAG
*COM*:00000001 flash_busy
*COM*:00000001 Timer3_set_flag
*COM*:00000001 Timer3_mscale
*COM*:00000001 Timer3_nextScale
*COM*:00000002 Timer3_minterval
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccWMaaaa.s:410 .text:000000ee Letext
UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
os_atomic_start
os_atomic_end
cc2420_writetxfifo
printf
Leds_redToggle
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -