; generated by Component: ARM Compiler 5.06 update 7 (build 960) Tool: ArmCC [4d365d]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave -o..\output\main.o --asm_dir=..\List\ --list_dir=..\List\ --depend=..\output\main.d --cpu=Cortex-M0+ --apcs=interwork -O0 --diag_suppress=9931 -I..\FWLib\SC32F1XXX_Lib\inc -I..\User\HeadFiles -I..\User -I..\Drivers -I..\Apps -I..\CMSIS -IF:\Users\SOC\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\Device\ARM\ARMCM0plus\Include -D__UVISION_VERSION=536 -DARMCM0P -DSC32f15xx --omf_browse=..\output\main.crf ..\User\main.c]
                          THUMB

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

                  _sys_exit PROC
;;;30     //_sys_exit()Աʹðģʽ
;;;31     void _sys_exit ( int x )
000000  4770              BX       lr
;;;32     {
;;;33         (void)x;
;;;34     }
;;;35     #if defined(SC32f10xx)||defined(SC32f12xx)
                          ENDP


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

                  fputc PROC
;;;45     /* UART1Ϣӡʹ */
;;;46     int fputc ( int c, FILE* f )
000000  b570              PUSH     {r4-r6,lr}
;;;47     {
000002  4604              MOV      r4,r0
000004  460d              MOV      r5,r1
;;;48         UART_SendData ( UART1, ( uint8_t ) c );
000006  b2e1              UXTB     r1,r4
000008  4807              LDR      r0,|L2.40|
00000a  f7fffffe          BL       UART_SendData
;;;49         while ( !UART_GetFlagStatus ( UART1, UART_Flag_TX ) );
00000e  bf00              NOP      
                  |L2.16|
000010  2102              MOVS     r1,#2
000012  4805              LDR      r0,|L2.40|
000014  f7fffffe          BL       UART_GetFlagStatus
000018  2800              CMP      r0,#0
00001a  d0f9              BEQ      |L2.16|
;;;50         UART_ClearFlag ( UART1, UART_Flag_TX );
00001c  2102              MOVS     r1,#2
00001e  4802              LDR      r0,|L2.40|
000020  f7fffffe          BL       UART_ClearFlag
;;;51         return c;
000024  4620              MOV      r0,r4
;;;52     }
000026  bd70              POP      {r4-r6,pc}
;;;53     #endif
                          ENDP

                  |L2.40|
                          DCD      0x40020080

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

                  main PROC
;;;53     #endif
;;;54     int main ( void )
000000  b50e              PUSH     {r1-r3,lr}
;;;55     {
;;;56         /*<Generated by EasyCodeCube begin>*/
;;;57         /*<UserCodeStart>*//*<SinOne-Tag><36>*/
;;;58         SC_Init();        //HLCK ƵΪ1Ƶ
000002  f7fffffe          BL       SC_Init
;;;59     #if defined(SC32f10xx)||defined(SC32f12xx)
;;;60         /* ʼUART3ΪUART3*/
;;;61         RCC_APB2Cmd ( ENABLE ); //APB0ʱ
;;;62         RCC_APB2PeriphClockCmd ( RCC_APB2Periph_UART3, ENABLE ); //UART3ʱ
;;;63     
;;;64         {
;;;65             UART_InitTypeDef UART_InitStruct;
;;;66             UART_InitStruct.UART_BaudRate = 115200;
;;;67     
;;;68             UART_InitStruct.UART_ClockFrequency = 32000000;
;;;69     
;;;70             UART_InitStruct.UART_Mode = UART_Mode_10B;
;;;71     
;;;72             UART_Init ( UART3, &UART_InitStruct );
;;;73     
;;;74             UART_TXCmd ( UART3, ENABLE );
;;;75             UART_RXCmd ( UART3, ENABLE );
;;;76         }
;;;77         __enable_irq(); // ж
;;;78     #if defined(SC32f12xx)
;;;79         printf ( "\r\n This is SC32F12xx Demo!!! \r\n" );
;;;80     #elif defined(SC32f10xx)
;;;81         printf ( "\r\n This is SC32F10xx Demo!!! \r\n" );
;;;82     	
;;;83     #endif
;;;84     #endif
;;;85     #if defined(SC32f15xx)
;;;86       RCC_APB0Cmd(ENABLE);  //APB0ʱ
000006  2001              MOVS     r0,#1
000008  f7fffffe          BL       RCC_APB0Cmd
;;;87       RCC_APB0PeriphClockCmd(RCC_APB0Periph_UART1, ENABLE); //UART1ʱ
00000c  2101              MOVS     r1,#1
00000e  2080              MOVS     r0,#0x80
000010  f7fffffe          BL       RCC_APB0PeriphClockCmd
;;;88      
;;;89     
;;;90       {
;;;91         UART_InitTypeDef UART_InitStruct;
;;;92         UART_InitStruct.UART_BaudRate = 115200;
000014  20e1              MOVS     r0,#0xe1
000016  0240              LSLS     r0,r0,#9
000018  9001              STR      r0,[sp,#4]
;;;93         UART_InitStruct.UART_ClockFrequency = 36000000;     //ƵΪ36MHz
00001a  480a              LDR      r0,|L3.68|
00001c  9000              STR      r0,[sp,#0]
;;;94         UART_InitStruct.UART_Mode = UART_Mode_10B;
00001e  2001              MOVS     r0,#1
000020  9002              STR      r0,[sp,#8]
;;;95     
;;;96         UART_Init(UART1, &UART_InitStruct);
000022  4669              MOV      r1,sp
000024  4808              LDR      r0,|L3.72|
000026  f7fffffe          BL       UART_Init
;;;97     
;;;98         UART_TXCmd(UART1, ENABLE);
00002a  2101              MOVS     r1,#1
00002c  4806              LDR      r0,|L3.72|
00002e  f7fffffe          BL       UART_TXCmd
;;;99         
;;;100      }
;;;101      	 
;;;102      __enable_irq(); // ж
000032  b662              CPSIE    i
;;;103    #if defined(SC32f15xx)
;;;104        printf ( "\r\n This is SC32f15xx Demo!!! \r\n" );
000034  a005              ADR      r0,|L3.76|
000036  f7fffffe          BL       __2printf
;;;105    #endif
;;;106    	
;;;107    #endif
;;;108        /*<Generated by EasyCodeCube begin>*/
;;;109    #if (TestNum == 1)
;;;110        GPIO_InOut_Function();
;;;111    #elif (TestNum == 2)
;;;112        ADC_SingleConversion_Function();
;;;113    #elif (TestNum == 3)
;;;114        BTM_Base_Function();
;;;115    #elif (TestNum == 4)
;;;116        CRC_CalculateArrays_Function();
;;;117    #elif (TestNum == 5)
;;;118        DMA_Burst_Function();
;;;119    #elif (TestNum == 6)
;;;120        DMA_Pause_Function();
;;;121    #elif (TestNum == 7)
;;;122        DMA_ScatterGather_Function();
;;;123    #elif (TestNum == 8)
;;;124        INT_Example_Function();
;;;125    #elif (TestNum == 9)
;;;126        IAP_ReadUID_Example();
;;;127    #elif (TestNum == 10)
;;;128        IAP_Program_Function();
;;;129    #elif (TestNum == 11)
;;;130        RCC_SystemClockConfig_Function();
;;;131    #elif (TestNum == 12)
;;;132        SPI_Communication_Function();
;;;133    #elif (TestNum == 13)
;;;134        SPI_FIFOMaster_Function();
;;;135    #elif (TestNum == 14)
;;;136        SPI_FIFOSlave_Function();
;;;137    #elif (TestNum == 15)
;;;138        SPI_Communication_DMA_Function();
;;;139    #elif (TestNum == 16)
;;;140        TIM_TimeBase_Function();
;;;141    #elif (TestNum == 17)
;;;142        TIM_CounterBase_Function();
;;;143    #elif (TestNum == 18)
;;;144        TIM_PWMOutput_Function();
;;;145    #elif (TestNum == 19)
;;;146        TIM_InputCapture_Function();
;;;147    #elif (TestNum == 20)
;;;148        TIM_TI_DMA_Function();
00003a  f7fffffe          BL       TIM_TI_DMA_Function
;;;149    #elif (TestNum == 21)
;;;150        TWI_Communication_Function();
;;;151    #elif (TestNum == 22)
;;;152        TWI_Master_DMA_Function();
;;;153    #elif (TestNum == 23)
;;;154        TWI_Slave_DMA_Function();
;;;155    #elif (TestNum == 24)
;;;156        UART_Communication_Function();
;;;157    #elif (TestNum == 25)
;;;158        UART_Communication_DMA_Function();
;;;159    #elif (TestNum == 26)
;;;160        SYSTICK_Example_Function();
;;;161    #elif (TestNum == 27)
;;;162        STOP_IDLE_WakeUp_Function();
;;;163    
;;;164    #endif
;;;165    #if defined(SC32f10xx)||defined(SC32f12xx)
;;;166    #if (TestNum == 28)
;;;167        CMP_Interrupt_Function();
;;;168    #elif (TestNum == 29)
;;;169        ADC_CycleConversion_DMA_Function();
;;;170    #elif (TestNum == 30)
;;;171        CMP_AnalogWatchdog_Function();
;;;172    #elif (TestNum == 31)
;;;173        LCD_Example_Function();
;;;174    #elif (TestNum == 32)
;;;175        LED_Example_Function();
;;;176    #elif (TestNum == 33)
;;;177        PWM_Independent_Function();
;;;178    #elif (TestNum == 34)
;;;179        PWM_Complementary_Function();
;;;180    #elif (TestNum == 35)
;;;181        LEDPWM_Example_Function();
;;;182    #endif
;;;183    #if defined(SC32f12xx)
;;;184    #if (TestNum == 36)				 
;;;185      	UART_LINMaster_Function	();
;;;186    #elif (TestNum == 37)		
;;;187      	UART_LINSlave_Function();
;;;188    #elif (TestNum == 38)
;;;189        OP_AmplifiesVoltage_Function();
;;;190    
;;;191    #endif
;;;192    #endif
;;;193    
;;;194    #endif
;;;195    #if defined(SC32f15xx)
;;;196    #if (TestNum == 28)	
;;;197        ADC_SequenceConversion_Function();
;;;198    #elif (TestNum == 29)				 
;;;199      	UART_LINMaster_Function();
;;;200    #elif (TestNum == 30)		
;;;201      	UART_LINSlave_Function();
;;;202    #elif (TestNum == 31)		
;;;203    		QEP_CaptureEncodingValues_Function();
;;;204    #elif (TestNum == 32)
;;;205        CMP_Interrupt_Function();
;;;206    #elif (TestNum == 33)
;;;207        CAN_Communication();
;;;208    #elif (TestNum == 34)
;;;209        DAC_Output_Function();
;;;210    #elif (TestNum == 35)
;;;211        OP_AmplifiesVoltage_Function();
;;;212    #elif (TestNum == 36)
;;;213        OP_AmplifyDifferentially_Function();
;;;214    #elif (TestNum == 37)		
;;;215    		OP_CmpMode_Function();
;;;216    
;;;217    #endif
;;;218    #endif
;;;219    
;;;220    
;;;221        /*****MainLoop*****/
;;;222        while ( 1 )
00003e  bf00              NOP      
                  |L3.64|
000040  e7fe              B        |L3.64|
;;;223        {
;;;224            /*<UserCodeStart>*//*<SinOne-Tag><14>*/
;;;225            /***User program***/
;;;226            /*<UserCodeEnd>*//*<SinOne-Tag><14>*/
;;;227            /*<Begin-Inserted by EasyCodeCube for Condition>*/
;;;228        }
;;;229        /*<UserCodeEnd>*//*<SinOne-Tag><4>*/
;;;230    
;;;231        /*<Generated by EasyCodeCube end>*/
;;;232    
;;;233    }
                          ENDP

000042  0000              DCW      0x0000
                  |L3.68|
                          DCD      0x02255100
                  |L3.72|
                          DCD      0x40020080
                  |L3.76|
00004c  0d0a2054          DCB      "\r\n This is SC32f15xx Demo!!! \r\n",0
000050  68697320
000054  69732053
000058  43333266
00005c  31357878
000060  2044656d
000064  6f212121
000068  200d0a00

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

                  __stdout
                          DCD      0x00000000

;*** Start embedded assembler ***

#line 1 "..\\User\\main.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___6_main_c_9275e5e5____REV16|
#line 463 "..\\CMSIS\\cmsis_armcc.h"
|__asm___6_main_c_9275e5e5____REV16| PROC
#line 464

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE
	THUMB
	EXPORT |__asm___6_main_c_9275e5e5____REVSH|
#line 478
|__asm___6_main_c_9275e5e5____REVSH| PROC
#line 479

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***

                  __ARM_use_no_argv EQU 0
