show.txt 31.4 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825
; generated by Component: ARM Compiler 5.06 update 6 (build 750) Tool: ArmCC [4d3637]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave -o.\flash\obj\show.o --asm_dir=.\Flash\List\ --list_dir=.\Flash\List\ --depend=.\flash\obj\show.d --cpu=Cortex-M4.fp --apcs=interwork -O1 --diag_suppress=9931,870 -I..\..\Libraries\CMSIS\Include -I..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include -I..\..\Libraries\STM32F4xx_StdPeriph_Driver\inc -I..\..\uCOS-III\uC-CPU -I..\..\uCOS-III\uC-LIB -I..\..\uCOS-III\uCOS-III\Ports -I..\..\uCOS-III\uCOS-III\Source -I..\..\uCOS-III\uC-CPU\ARM-Cortex-M4\RealView -I..\..\uCOS-III\uC-LIB\Ports\ARM-Cortex-M4\RealView -I..\..\uCOS-III\uCOS-III\Ports\ARM-Cortex-M4\Generic\RealView -I..\..\User -I..\..\User\bsp -I..\..\User\bsp\inc -I..\..\User\libapp -I..\..\RL-ARM\Config -I..\..\RL-ARM\Driver -I..\..\RL-ARM\RL-RTX\inc -I..\..\User\bsp\BSP -I..\..\RL-ARM\RL-CAN -I..\..\Libraries\DSP_LIB\Include -I..\..\MODBUS\modbus\rtu -I..\..\MODBUS\BARE\port -I..\..\MODBUS\modbus\include -I..\..\User\bsp\BSP -I..\..\PLC -I..\..\Avoid -I..\..\User\parameter -I..\..\User\LaserMotionCtr -I..\..\User\W5100S -I..\..\User\bsp -I..\..\User\CHASSIS -I..\..\User\CONTROLFUNCTION -I..\..\User\DATAUPDATE -I..\..\User\HARAWARE -I..\..\User\MOTORDRIVER -I..\..\User\NAVAGATION -I..\..\User\PLATFORM -I..\..\User\SENSOR -I.\RTE\_Flash -IC:\Users\YDJ\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Users\YDJ\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.13.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -D__UVISION_VERSION=527 -D_RTE_ -DSTM32F407xx -DUSE_STDPERIPH_DRIVER -DSTM32F40_41xxx -D__RTX -D__FPU_USED=1 --omf_browse=.\flash\obj\show.crf ..\..\User\HARAWARE\SHOW.c]
                          THUMB

                          AREA ||i.LED_color||, CODE, READONLY, ALIGN=1

                  LED_color PROC
;;;76     
;;;77     void LED_color(uint8_t color, u16 flicker)
000000  b510              PUSH     {r4,lr}
;;;78     {
000002  4604              MOV      r4,r0
000004  4608              MOV      r0,r1
;;;79     	color = flicker > 0 ? color*Nsecend(flicker) : color;
000006  2800              CMP      r0,#0
000008  d003              BEQ      |L1.18|
00000a  f7fffffe          BL       Nsecend
00000e  4360              MULS     r0,r4,r0
000010  e000              B        |L1.20|
                  |L1.18|
000012  4620              MOV      r0,r4
                  |L1.20|
000014  b2c0              UXTB     r0,r0
;;;80     	switch (color)
000016  2808              CMP      r0,#8
000018  d275              BCS      |L1.262|
00001a  e8dff000          TBB      [pc,r0]
00001e  0412              DCB      0x04,0x12
000020  202e3c4a          DCB      0x20,0x2e,0x3c,0x4a
000024  5866              DCB      0x58,0x66
;;;81     	{
;;;82     	case 0://#define LED_close 0
;;;83     		Y5(!LED_ON);//LED_RED关闭
000026  2100              MOVS     r1,#0
000028  2004              MOVS     r0,#4
00002a  f7fffffe          BL       GPIO_SetOutput_24V
;;;84     		Y7(!LED_ON);//LED_GREEN
00002e  2100              MOVS     r1,#0
000030  2006              MOVS     r0,#6
000032  f7fffffe          BL       GPIO_SetOutput_24V
;;;85     		Y6(!LED_ON);
000036  2100              MOVS     r1,#0
000038  e8bd4010          POP      {r4,lr}
00003c  2005              MOVS     r0,#5
00003e  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;86     		break;
;;;87     	case 1://#define LED_blue 1绿色
;;;88     		Y5(!LED_ON);//LED_RED
000042  2100              MOVS     r1,#0
000044  2004              MOVS     r0,#4
000046  f7fffffe          BL       GPIO_SetOutput_24V
;;;89     		Y7(LED_ON);//LED_GREEN
00004a  2101              MOVS     r1,#1
00004c  2006              MOVS     r0,#6
00004e  f7fffffe          BL       GPIO_SetOutput_24V
;;;90     		Y6(!LED_ON); //LED_YELLOW
000052  2100              MOVS     r1,#0
000054  e8bd4010          POP      {r4,lr}
000058  2005              MOVS     r0,#5
00005a  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;91     		break;
;;;92     	case 2://#define  Blue 2黄色
;;;93     		Y5(!LED_ON);//LED_RED
00005e  2100              MOVS     r1,#0
000060  2004              MOVS     r0,#4
000062  f7fffffe          BL       GPIO_SetOutput_24V
;;;94     		Y7(!LED_ON);//LED_GREEN
000066  2100              MOVS     r1,#0
000068  2006              MOVS     r0,#6
00006a  f7fffffe          BL       GPIO_SetOutput_24V
;;;95     		Y6(LED_ON); //LED_YELLOW
00006e  2101              MOVS     r1,#1
000070  e8bd4010          POP      {r4,lr}
000074  2005              MOVS     r0,#5
000076  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;96     		break;
;;;97     	case 3://#define LED_red 3红色
;;;98     		Y5(LED_ON);//LED_RED
00007a  2101              MOVS     r1,#1
00007c  2004              MOVS     r0,#4
00007e  f7fffffe          BL       GPIO_SetOutput_24V
;;;99     		Y7(!LED_ON);//LED_GREEN
000082  2100              MOVS     r1,#0
000084  2006              MOVS     r0,#6
000086  f7fffffe          BL       GPIO_SetOutput_24V
;;;100    		Y6(!LED_ON); //LED_YELLOW
00008a  2100              MOVS     r1,#0
00008c  e8bd4010          POP      {r4,lr}
000090  2005              MOVS     r0,#5
000092  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;101    		break;
;;;102    	case 4:         //白色
;;;103    		Y5(LED_ON);//LED_RED
000096  2101              MOVS     r1,#1
000098  2004              MOVS     r0,#4
00009a  f7fffffe          BL       GPIO_SetOutput_24V
;;;104    		Y7(LED_ON);//LED_GREEN
00009e  2101              MOVS     r1,#1
0000a0  2006              MOVS     r0,#6
0000a2  f7fffffe          BL       GPIO_SetOutput_24V
;;;105    		Y6(LED_ON); //LED_YELLOW
0000a6  2101              MOVS     r1,#1
0000a8  e8bd4010          POP      {r4,lr}
0000ac  2005              MOVS     r0,#5
0000ae  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;106    		break;
;;;107    	case 5:         //紫色
;;;108    		Y5(LED_ON);//LED_RED
0000b2  2101              MOVS     r1,#1
0000b4  2004              MOVS     r0,#4
0000b6  f7fffffe          BL       GPIO_SetOutput_24V
;;;109    		Y7(!LED_ON);//LED_GREEN
0000ba  2100              MOVS     r1,#0
0000bc  2006              MOVS     r0,#6
0000be  f7fffffe          BL       GPIO_SetOutput_24V
;;;110    		Y6(LED_ON); //LED_YELLOW
0000c2  2101              MOVS     r1,#1
0000c4  e8bd4010          POP      {r4,lr}
0000c8  2005              MOVS     r0,#5
0000ca  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;111    		break;
;;;112    	case 6:        //黄色
;;;113    		Y5(LED_ON);//LED_RED
0000ce  2101              MOVS     r1,#1
0000d0  2004              MOVS     r0,#4
0000d2  f7fffffe          BL       GPIO_SetOutput_24V
;;;114    		Y7(LED_ON);//LED_GREEN
0000d6  2101              MOVS     r1,#1
0000d8  2006              MOVS     r0,#6
0000da  f7fffffe          BL       GPIO_SetOutput_24V
;;;115    		Y6(!LED_ON);//LED_YELLOW
0000de  2100              MOVS     r1,#0
0000e0  e8bd4010          POP      {r4,lr}
0000e4  2005              MOVS     r0,#5
0000e6  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;116    		break;
;;;117    	case 7:       //浅蓝
;;;118    		Y5(!LED_ON);//LED_RED
0000ea  2100              MOVS     r1,#0
0000ec  2004              MOVS     r0,#4
0000ee  f7fffffe          BL       GPIO_SetOutput_24V
;;;119    		Y7(LED_ON);//LED_GREEN
0000f2  2101              MOVS     r1,#1
0000f4  2006              MOVS     r0,#6
0000f6  f7fffffe          BL       GPIO_SetOutput_24V
;;;120    		Y6(LED_ON); //LED_YELLOW
0000fa  2101              MOVS     r1,#1
0000fc  e8bd4010          POP      {r4,lr}
000100  2005              MOVS     r0,#5
000102  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L1.262|
;;;121    		break;
;;;122    	default://#define LED_close
;;;123    		Y5(!LED_ON);//LED_RED
000106  2100              MOVS     r1,#0
000108  2004              MOVS     r0,#4
00010a  f7fffffe          BL       GPIO_SetOutput_24V
;;;124    		Y7(!LED_ON);//LED_GREEN
00010e  2100              MOVS     r1,#0
000110  2006              MOVS     r0,#6
000112  f7fffffe          BL       GPIO_SetOutput_24V
;;;125    		Y6(!LED_ON); //LED_YELLOW
000116  2100              MOVS     r1,#0
000118  e8bd4010          POP      {r4,lr}
00011c  2005              MOVS     r0,#5
00011e  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;126    		break;
;;;127    	}
;;;128    }
;;;129    
                          ENDP


                          AREA ||i.Laser_Run||, CODE, READONLY, ALIGN=1

                  Laser_Run PROC
;;;130    
;;;131    void Laser_Run(u8 Data)
000000  b510              PUSH     {r4,lr}
;;;132    {
;;;133    	switch (Data)//北洋激光对应25号区域
000002  2820              CMP      r0,#0x20
000004  d27e              BCS      |L2.260|
000006  e8dff000          TBB      [pc,r0]
00000a  7d10              DCB      0x7d,0x10
00000c  1e2c3a48          DCB      0x1e,0x2c,0x3a,0x48
000010  56647282          DCB      0x56,0x64,0x72,0x82
000014  909eacba          DCB      0x90,0x9e,0xac,0xba
000018  c8d6e4fd          DCB      0xc8,0xd6,0xe4,0xfd
00001c  fcfbfaf9          DCB      0xfc,0xfb,0xfa,0xf9
000020  f8f7f6f5          DCB      0xf8,0xf7,0xf6,0xf5
000024  f4f3f2f1          DCB      0xf4,0xf3,0xf2,0xf1
000028  f0ef              DCB      0xf0,0xef
;;;134    	{
;;;135    	case 1://57中间
;;;136    		Y1(!LaserSelect);
00002a  2100              MOVS     r1,#0
00002c  4608              MOV      r0,r1
00002e  f7fffffe          BL       GPIO_SetOutput_24V
;;;137    		Y2(LaserSelect);
000032  2101              MOVS     r1,#1
000034  4608              MOV      r0,r1
000036  f7fffffe          BL       GPIO_SetOutput_24V
;;;138    		Y3(LaserSelect);
00003a  2101              MOVS     r1,#1
00003c  e8bd4010          POP      {r4,lr}
000040  2002              MOVS     r0,#2
000042  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;139    		break;
;;;140    	case 2://58最小
;;;141    		Y1(LaserSelect);
000046  2101              MOVS     r1,#1
000048  2000              MOVS     r0,#0
00004a  f7fffffe          BL       GPIO_SetOutput_24V
;;;142    		Y2(!LaserSelect);
00004e  2100              MOVS     r1,#0
000050  2001              MOVS     r0,#1
000052  f7fffffe          BL       GPIO_SetOutput_24V
;;;143    		Y3(LaserSelect);
000056  2101              MOVS     r1,#1
000058  e8bd4010          POP      {r4,lr}
00005c  2002              MOVS     r0,#2
00005e  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;144    		break;
;;;145    	case 3:
;;;146    		Y1(!LaserSelect);
000062  2100              MOVS     r1,#0
000064  4608              MOV      r0,r1
000066  f7fffffe          BL       GPIO_SetOutput_24V
;;;147    		Y2(!LaserSelect);
00006a  2100              MOVS     r1,#0
00006c  2001              MOVS     r0,#1
00006e  f7fffffe          BL       GPIO_SetOutput_24V
;;;148    		Y3(LaserSelect);
000072  2101              MOVS     r1,#1
000074  e8bd4010          POP      {r4,lr}
000078  2002              MOVS     r0,#2
00007a  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;149    		break;
;;;150    	case 4:
;;;151    		Y1(LaserSelect);
00007e  2101              MOVS     r1,#1
000080  2000              MOVS     r0,#0
000082  f7fffffe          BL       GPIO_SetOutput_24V
;;;152    		Y2(LaserSelect);
000086  2101              MOVS     r1,#1
000088  4608              MOV      r0,r1
00008a  f7fffffe          BL       GPIO_SetOutput_24V
;;;153    		Y3(!LaserSelect);
00008e  2100              MOVS     r1,#0
000090  e8bd4010          POP      {r4,lr}
000094  2002              MOVS     r0,#2
000096  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;154    		break;
;;;155    	case 5:
;;;156    		Y1(!LaserSelect);
00009a  2100              MOVS     r1,#0
00009c  4608              MOV      r0,r1
00009e  f7fffffe          BL       GPIO_SetOutput_24V
;;;157    		Y2(LaserSelect);
0000a2  2101              MOVS     r1,#1
0000a4  4608              MOV      r0,r1
0000a6  f7fffffe          BL       GPIO_SetOutput_24V
;;;158    		Y3(!LaserSelect);
0000aa  2100              MOVS     r1,#0
0000ac  e8bd4010          POP      {r4,lr}
0000b0  2002              MOVS     r0,#2
0000b2  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;159    		break;
;;;160    	case 6:
;;;161    		Y1(LaserSelect);
0000b6  2101              MOVS     r1,#1
0000b8  2000              MOVS     r0,#0
0000ba  f7fffffe          BL       GPIO_SetOutput_24V
;;;162    		Y2(!LaserSelect);
0000be  2100              MOVS     r1,#0
0000c0  2001              MOVS     r0,#1
0000c2  f7fffffe          BL       GPIO_SetOutput_24V
;;;163    		Y3(!LaserSelect);
0000c6  2100              MOVS     r1,#0
0000c8  e8bd4010          POP      {r4,lr}
0000cc  2002              MOVS     r0,#2
0000ce  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;164    		break;
;;;165    	case 7:
;;;166    		Y1(!LaserSelect);
0000d2  2100              MOVS     r1,#0
0000d4  4608              MOV      r0,r1
0000d6  f7fffffe          BL       GPIO_SetOutput_24V
;;;167    		Y2(!LaserSelect);
0000da  2100              MOVS     r1,#0
0000dc  2001              MOVS     r0,#1
0000de  f7fffffe          BL       GPIO_SetOutput_24V
;;;168    		Y3(!LaserSelect);
0000e2  2100              MOVS     r1,#0
0000e4  e8bd4010          POP      {r4,lr}
0000e8  2002              MOVS     r0,#2
0000ea  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;169    		break;
;;;170    	case 8://56最大
;;;171    		Y1(LaserSelect);
0000ee  2101              MOVS     r1,#1
0000f0  2000              MOVS     r0,#0
0000f2  f7fffffe          BL       GPIO_SetOutput_24V
;;;172    		Y2(LaserSelect);
0000f6  2101              MOVS     r1,#1
0000f8  4608              MOV      r0,r1
0000fa  f7fffffe          BL       GPIO_SetOutput_24V
;;;173    		Y3(LaserSelect);
0000fe  2101              MOVS     r1,#1
000100  2002              MOVS     r0,#2
000102  e000              B        |L2.262|
                  |L2.260|
000104  e155              B        |L2.946|
                  |L2.262|
000106  e8bd4010          POP      {r4,lr}
00010a  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;174    		break;
;;;175    	case 9:
;;;176    		Y1(LaserSelect);
00010e  2101              MOVS     r1,#1
000110  2000              MOVS     r0,#0
000112  f7fffffe          BL       GPIO_SetOutput_24V
;;;177    		Y2(!LaserSelect);
000116  2100              MOVS     r1,#0
000118  2001              MOVS     r0,#1
00011a  f7fffffe          BL       GPIO_SetOutput_24V
;;;178    		Y3(LaserSelect);
00011e  2101              MOVS     r1,#1
000120  e8bd4010          POP      {r4,lr}
000124  2002              MOVS     r0,#2
000126  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;179    		break;
;;;180    	case 10:
;;;181    		Y1(!LaserSelect);
00012a  2100              MOVS     r1,#0
00012c  4608              MOV      r0,r1
00012e  f7fffffe          BL       GPIO_SetOutput_24V
;;;182    		Y2(LaserSelect);
000132  2101              MOVS     r1,#1
000134  4608              MOV      r0,r1
000136  f7fffffe          BL       GPIO_SetOutput_24V
;;;183    		Y3(LaserSelect);
00013a  2101              MOVS     r1,#1
00013c  e8bd4010          POP      {r4,lr}
000140  2002              MOVS     r0,#2
000142  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;184    		break;
;;;185    	case 11:
;;;186    		Y1(LaserSelect);
000146  2101              MOVS     r1,#1
000148  2000              MOVS     r0,#0
00014a  f7fffffe          BL       GPIO_SetOutput_24V
;;;187    		Y2(LaserSelect);
00014e  2101              MOVS     r1,#1
000150  4608              MOV      r0,r1
000152  f7fffffe          BL       GPIO_SetOutput_24V
;;;188    		Y3(LaserSelect);
000156  2101              MOVS     r1,#1
000158  e8bd4010          POP      {r4,lr}
00015c  2002              MOVS     r0,#2
00015e  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;189    		break;
;;;190    	case 12:
;;;191    		Y1(LaserSelect);
000162  2101              MOVS     r1,#1
000164  2000              MOVS     r0,#0
000166  f7fffffe          BL       GPIO_SetOutput_24V
;;;192    		Y2(LaserSelect);
00016a  2101              MOVS     r1,#1
00016c  4608              MOV      r0,r1
00016e  f7fffffe          BL       GPIO_SetOutput_24V
;;;193    		Y3(!LaserSelect);
000172  2100              MOVS     r1,#0
000174  e8bd4010          POP      {r4,lr}
000178  2002              MOVS     r0,#2
00017a  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;194    		break;
;;;195    	case 13:
;;;196    		Y1(!LaserSelect);
00017e  2100              MOVS     r1,#0
000180  4608              MOV      r0,r1
000182  f7fffffe          BL       GPIO_SetOutput_24V
;;;197    		Y2(!LaserSelect);
000186  2100              MOVS     r1,#0
000188  2001              MOVS     r0,#1
00018a  f7fffffe          BL       GPIO_SetOutput_24V
;;;198    		Y3(LaserSelect);
00018e  2101              MOVS     r1,#1
000190  e8bd4010          POP      {r4,lr}
000194  2002              MOVS     r0,#2
000196  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;199    		break;
;;;200    	case 14:
;;;201    		Y1(LaserSelect);
00019a  2101              MOVS     r1,#1
00019c  2000              MOVS     r0,#0
00019e  f7fffffe          BL       GPIO_SetOutput_24V
;;;202    		Y2(!LaserSelect);
0001a2  2100              MOVS     r1,#0
0001a4  2001              MOVS     r0,#1
0001a6  f7fffffe          BL       GPIO_SetOutput_24V
;;;203    		Y3(LaserSelect);
0001aa  2101              MOVS     r1,#1
0001ac  e8bd4010          POP      {r4,lr}
0001b0  2002              MOVS     r0,#2
0001b2  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;204    		break;
;;;205    	case 15:
;;;206    		Y1(!LaserSelect);
0001b6  2100              MOVS     r1,#0
0001b8  4608              MOV      r0,r1
0001ba  f7fffffe          BL       GPIO_SetOutput_24V
;;;207    		Y2(LaserSelect);
0001be  2101              MOVS     r1,#1
0001c0  4608              MOV      r0,r1
0001c2  f7fffffe          BL       GPIO_SetOutput_24V
;;;208    		Y3(LaserSelect);
0001c6  2101              MOVS     r1,#1
0001c8  e8bd4010          POP      {r4,lr}
0001cc  2002              MOVS     r0,#2
0001ce  f7ffbffe          B.W      GPIO_SetOutput_24V
;;;209    		break;
;;;210    	case 16:
;;;211    		Y1(LaserSelect);
0001d2  2101              MOVS     r1,#1
0001d4  2000              MOVS     r0,#0
0001d6  f7fffffe          BL       GPIO_SetOutput_24V
;;;212    		Y2(LaserSelect);
0001da  2101              MOVS     r1,#1
0001dc  4608              MOV      r0,r1
0001de  f7fffffe          BL       GPIO_SetOutput_24V
;;;213    		Y3(LaserSelect);
0001e2  2101              MOVS     r1,#1
0001e4  2002              MOVS     r0,#2
0001e6  e00e              B        |L2.518|
0001e8  e0d5              B        |L2.918|
0001ea  e0c6              B        |L2.890|
0001ec  e0b7              B        |L2.862|
0001ee  e0a8              B        |L2.834|
0001f0  e099              B        |L2.806|
0001f2  e08a              B        |L2.778|
0001f4  e07b              B        |L2.750|
0001f6  e06c              B        |L2.722|
0001f8  e05d              B        |L2.694|
0001fa  e04e              B        |L2.666|
0001fc  e03f              B        |L2.638|
0001fe  e030              B        |L2.610|
000200  e021              B        |L2.582|
000202  e012              B        |L2.554|
000204  e003              B        |L2.526|
                  |L2.518|
000206  e8bd4010          POP      {r4,lr}
00020a  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.526|
;;;214    		break;
;;;215    	case 17:
;;;216    		Y1(LaserSelect);
00020e  2101              MOVS     r1,#1
000210  2000              MOVS     r0,#0
000212  f7fffffe          BL       GPIO_SetOutput_24V
;;;217    		Y2(LaserSelect);
000216  2101              MOVS     r1,#1
000218  4608              MOV      r0,r1
00021a  f7fffffe          BL       GPIO_SetOutput_24V
;;;218    		Y3(!LaserSelect);
00021e  2100              MOVS     r1,#0
000220  e8bd4010          POP      {r4,lr}
000224  2002              MOVS     r0,#2
000226  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.554|
;;;219    		break;
;;;220    	case 18:
;;;221    		Y1(!LaserSelect);
00022a  2100              MOVS     r1,#0
00022c  4608              MOV      r0,r1
00022e  f7fffffe          BL       GPIO_SetOutput_24V
;;;222    		Y2(!LaserSelect);
000232  2100              MOVS     r1,#0
000234  2001              MOVS     r0,#1
000236  f7fffffe          BL       GPIO_SetOutput_24V
;;;223    		Y3(LaserSelect);
00023a  2101              MOVS     r1,#1
00023c  e8bd4010          POP      {r4,lr}
000240  2002              MOVS     r0,#2
000242  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.582|
;;;224    		break;
;;;225    	case 19:
;;;226    		Y1(LaserSelect);
000246  2101              MOVS     r1,#1
000248  2000              MOVS     r0,#0
00024a  f7fffffe          BL       GPIO_SetOutput_24V
;;;227    		Y2(!LaserSelect);
00024e  2100              MOVS     r1,#0
000250  2001              MOVS     r0,#1
000252  f7fffffe          BL       GPIO_SetOutput_24V
;;;228    		Y3(LaserSelect);
000256  2101              MOVS     r1,#1
000258  e8bd4010          POP      {r4,lr}
00025c  2002              MOVS     r0,#2
00025e  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.610|
;;;229    		break;
;;;230    	case 20:
;;;231    		Y1(!LaserSelect);
000262  2100              MOVS     r1,#0
000264  4608              MOV      r0,r1
000266  f7fffffe          BL       GPIO_SetOutput_24V
;;;232    		Y2(LaserSelect);
00026a  2101              MOVS     r1,#1
00026c  4608              MOV      r0,r1
00026e  f7fffffe          BL       GPIO_SetOutput_24V
;;;233    		Y3(LaserSelect);
000272  2101              MOVS     r1,#1
000274  e8bd4010          POP      {r4,lr}
000278  2002              MOVS     r0,#2
00027a  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.638|
;;;234    		break;
;;;235    	case 21:
;;;236    		Y1(LaserSelect);
00027e  2101              MOVS     r1,#1
000280  2000              MOVS     r0,#0
000282  f7fffffe          BL       GPIO_SetOutput_24V
;;;237    		Y2(LaserSelect);
000286  2101              MOVS     r1,#1
000288  4608              MOV      r0,r1
00028a  f7fffffe          BL       GPIO_SetOutput_24V
;;;238    		Y3(LaserSelect);
00028e  2101              MOVS     r1,#1
000290  e8bd4010          POP      {r4,lr}
000294  2002              MOVS     r0,#2
000296  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.666|
;;;239    		break;
;;;240    	case 22:
;;;241    		Y1(LaserSelect);
00029a  2101              MOVS     r1,#1
00029c  2000              MOVS     r0,#0
00029e  f7fffffe          BL       GPIO_SetOutput_24V
;;;242    		Y2(LaserSelect);
0002a2  2101              MOVS     r1,#1
0002a4  4608              MOV      r0,r1
0002a6  f7fffffe          BL       GPIO_SetOutput_24V
;;;243    		Y3(!LaserSelect);
0002aa  2100              MOVS     r1,#0
0002ac  e8bd4010          POP      {r4,lr}
0002b0  2002              MOVS     r0,#2
0002b2  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.694|
;;;244    		break;
;;;245    	case 23:
;;;246    		Y1(!LaserSelect);
0002b6  2100              MOVS     r1,#0
0002b8  4608              MOV      r0,r1
0002ba  f7fffffe          BL       GPIO_SetOutput_24V
;;;247    		Y2(!LaserSelect);
0002be  2100              MOVS     r1,#0
0002c0  2001              MOVS     r0,#1
0002c2  f7fffffe          BL       GPIO_SetOutput_24V
;;;248    		Y3(LaserSelect);
0002c6  2101              MOVS     r1,#1
0002c8  e8bd4010          POP      {r4,lr}
0002cc  2002              MOVS     r0,#2
0002ce  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.722|
;;;249    		break;
;;;250    	case 24:
;;;251    		Y1(LaserSelect);
0002d2  2101              MOVS     r1,#1
0002d4  2000              MOVS     r0,#0
0002d6  f7fffffe          BL       GPIO_SetOutput_24V
;;;252    		Y2(LaserSelect);
0002da  2101              MOVS     r1,#1
0002dc  4608              MOV      r0,r1
0002de  f7fffffe          BL       GPIO_SetOutput_24V
;;;253    		Y3(LaserSelect);
0002e2  2101              MOVS     r1,#1
0002e4  e8bd4010          POP      {r4,lr}
0002e8  2002              MOVS     r0,#2
0002ea  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.750|
;;;254    		break;
;;;255    	case 25:
;;;256    		Y1(!LaserSelect);
0002ee  2100              MOVS     r1,#0
0002f0  4608              MOV      r0,r1
0002f2  f7fffffe          BL       GPIO_SetOutput_24V
;;;257    		Y2(LaserSelect);
0002f6  2101              MOVS     r1,#1
0002f8  4608              MOV      r0,r1
0002fa  f7fffffe          BL       GPIO_SetOutput_24V
;;;258    		Y3(LaserSelect);
0002fe  2101              MOVS     r1,#1
000300  e8bd4010          POP      {r4,lr}
000304  2002              MOVS     r0,#2
000306  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.778|
;;;259    		break;
;;;260    	case 26:
;;;261    		Y1(LaserSelect);
00030a  2101              MOVS     r1,#1
00030c  2000              MOVS     r0,#0
00030e  f7fffffe          BL       GPIO_SetOutput_24V
;;;262    		Y2(!LaserSelect);
000312  2100              MOVS     r1,#0
000314  2001              MOVS     r0,#1
000316  f7fffffe          BL       GPIO_SetOutput_24V
;;;263    		Y3(LaserSelect);
00031a  2101              MOVS     r1,#1
00031c  e8bd4010          POP      {r4,lr}
000320  2002              MOVS     r0,#2
000322  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.806|
;;;264    		break;
;;;265    
;;;266    	case 27:
;;;267    		Y1(!LaserSelect);
000326  2100              MOVS     r1,#0
000328  4608              MOV      r0,r1
00032a  f7fffffe          BL       GPIO_SetOutput_24V
;;;268    		Y2(!LaserSelect);
00032e  2100              MOVS     r1,#0
000330  2001              MOVS     r0,#1
000332  f7fffffe          BL       GPIO_SetOutput_24V
;;;269    		Y3(LaserSelect);
000336  2101              MOVS     r1,#1
000338  e8bd4010          POP      {r4,lr}
00033c  2002              MOVS     r0,#2
00033e  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.834|
;;;270    		break;
;;;271    	case 28:
;;;272    		Y1(LaserSelect);
000342  2101              MOVS     r1,#1
000344  2000              MOVS     r0,#0
000346  f7fffffe          BL       GPIO_SetOutput_24V
;;;273    		Y2(LaserSelect);
00034a  2101              MOVS     r1,#1
00034c  4608              MOV      r0,r1
00034e  f7fffffe          BL       GPIO_SetOutput_24V
;;;274    		Y3(!LaserSelect);
000352  2100              MOVS     r1,#0
000354  e8bd4010          POP      {r4,lr}
000358  2002              MOVS     r0,#2
00035a  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.862|
;;;275    		break;
;;;276    	case 29:
;;;277    		Y1(!LaserSelect);
00035e  2100              MOVS     r1,#0
000360  4608              MOV      r0,r1
000362  f7fffffe          BL       GPIO_SetOutput_24V
;;;278    		Y2(LaserSelect);
000366  2101              MOVS     r1,#1
000368  4608              MOV      r0,r1
00036a  f7fffffe          BL       GPIO_SetOutput_24V
;;;279    		Y3(!LaserSelect);
00036e  2100              MOVS     r1,#0
000370  e8bd4010          POP      {r4,lr}
000374  2002              MOVS     r0,#2
000376  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.890|
;;;280    		break;
;;;281    	case 30:
;;;282    		Y1(LaserSelect);
00037a  2101              MOVS     r1,#1
00037c  2000              MOVS     r0,#0
00037e  f7fffffe          BL       GPIO_SetOutput_24V
;;;283    		Y2(!LaserSelect);
000382  2100              MOVS     r1,#0
000384  2001              MOVS     r0,#1
000386  f7fffffe          BL       GPIO_SetOutput_24V
;;;284    		Y3(!LaserSelect);
00038a  2100              MOVS     r1,#0
00038c  e8bd4010          POP      {r4,lr}
000390  2002              MOVS     r0,#2
000392  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.918|
;;;285    		break;
;;;286    	case 31:
;;;287    		Y1(!LaserSelect);
000396  2100              MOVS     r1,#0
000398  4608              MOV      r0,r1
00039a  f7fffffe          BL       GPIO_SetOutput_24V
;;;288    		Y2(!LaserSelect);
00039e  2100              MOVS     r1,#0
0003a0  2001              MOVS     r0,#1
0003a2  f7fffffe          BL       GPIO_SetOutput_24V
;;;289    		Y3(!LaserSelect);
0003a6  2100              MOVS     r1,#0
0003a8  e8bd4010          POP      {r4,lr}
0003ac  2002              MOVS     r0,#2
0003ae  f7ffbffe          B.W      GPIO_SetOutput_24V
                  |L2.946|
;;;290    		break;
;;;291    	default:
;;;292    		break;
;;;293    	}
;;;294    }
0003b2  bd10              POP      {r4,pc}
                          ENDP


                          AREA ||i.Nsecend||, CODE, READONLY, ALIGN=2

                  Nsecend PROC
;;;11     
;;;12     bool Nsecend(u16 flicktime)
000000  4907              LDR      r1,|L3.32|
;;;13     {
;;;14     	static int LastTime = 0;
;;;15     	static bool LEDState;
;;;16     	if(agv.Public.SystemTime - LastTime > flicktime)
000002  4a08              LDR      r2,|L3.36|
000004  f8d110bc          LDR      r1,[r1,#0xbc]  ; agv
000008  6853              LDR      r3,[r2,#4]  ; LastTime
00000a  1acb              SUBS     r3,r1,r3
00000c  4283              CMP      r3,r0
00000e  d904              BLS      |L3.26|
;;;17     	{
;;;18     		LastTime = agv.Public.SystemTime;
000010  6051              STR      r1,[r2,#4]  ; LastTime
;;;19     		LEDState = !LEDState;
000012  7810              LDRB     r0,[r2,#0]  ; LEDState
000014  f0800001          EOR      r0,r0,#1
000018  7010              STRB     r0,[r2,#0]
                  |L3.26|
;;;20     	}
;;;21     	return LEDState;
00001a  7810              LDRB     r0,[r2,#0]  ; LEDState
;;;22     }
00001c  4770              BX       lr
;;;23     
                          ENDP

00001e  0000              DCW      0x0000
                  |L3.32|
                          DCD      agv
                  |L3.36|
                          DCD      ||.data||

                          AREA ||i.Reset_Alarm||, CODE, READONLY, ALIGN=2

                  Reset_Alarm PROC
;;;6      
;;;7      void Reset_Alarm(int Alarmdata)
000000  4902              LDR      r1,|L4.12|
;;;8      {
;;;9      	agv.Public.Error_Flag &= ~Alarmdata;
000002  680a              LDR      r2,[r1,#0]  ; agv
000004  4382              BICS     r2,r2,r0
000006  600a              STR      r2,[r1,#0]  ; agv
;;;10     }
000008  4770              BX       lr
;;;11     
                          ENDP

00000a  0000              DCW      0x0000
                  |L4.12|
                          DCD      agv+0x80

                          AREA ||i.SetAlarm||, CODE, READONLY, ALIGN=2

                  SetAlarm PROC
;;;21     
;;;2      void SetAlarm(int Alarmdata)
000000  4902              LDR      r1,|L5.12|
;;;3      {
;;;4      	agv.Public.Error_Flag |= Alarmdata;
000002  680a              LDR      r2,[r1,#0]  ; agv
000004  4302              ORRS     r2,r2,r0
000006  600a              STR      r2,[r1,#0]  ; agv
;;;5      }
000008  4770              BX       lr
;;;6      
                          ENDP

00000a  0000              DCW      0x0000
                  |L5.12|
                          DCD      agv+0x80

                          AREA ||.data||, DATA, ALIGN=2

                  LEDState
000000  00000000          DCB      0x00,0x00,0x00,0x00
                  LastTime
                          DCD      0x00000000

;*** Start embedded assembler ***

#line 1 "..\\..\\User\\HARAWARE\\SHOW.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___6_SHOW_c_SetAlarm____REV16|
#line 129 "..\\..\\Libraries\\CMSIS\\Include\\core_cmInstr.h"
|__asm___6_SHOW_c_SetAlarm____REV16| PROC
#line 130

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE
	THUMB
	EXPORT |__asm___6_SHOW_c_SetAlarm____REVSH|
#line 144
|__asm___6_SHOW_c_SetAlarm____REVSH| PROC
#line 145

 revsh r0, r0
 bx lr
	ENDP
	AREA ||.rrx_text||, CODE
	THUMB
	EXPORT |__asm___6_SHOW_c_SetAlarm____RRX|
#line 300
|__asm___6_SHOW_c_SetAlarm____RRX| PROC
#line 301

 rrx r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***