; generated by Component: ARM Compiler 5.05 update 1 (build 106) Tool: ArmCC [4d0efa]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave -o..\output\sc32f1xxx_pwm.o --asm_dir=..\List\ --list_dir=..\List\ --depend=..\output\sc32f1xxx_pwm.d --cpu=Cortex-M0+ --apcs=interwork --diag_suppress=9931 -I..\FWLib\SC32F1XXX_Lib\inc -I..\User\HeadFiles -I..\User -I..\Drivers -I..\Apps -I..\CMSIS -ID:\Keil5\ARM\Pack\Keil\SC32F10xx_DFP\1.0.0\Device\SC32F10xx\FWLib\SC32_Lib\inc -ID:\Keil5\ARM\Pack\Keil\SC32F10xx_DFP\1.0.0\Device\SH32F2xx\Include -D__UVISION_VERSION=538 -DSC32F10xx --omf_browse=..\output\sc32f1xxx_pwm.crf ..\FWLib\SC32F1XXX_Lib\src\sc32f1xxx_pwm.c]
                          THUMB

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

                  PWM_ClearFlag PROC
;;;452     */
;;;453    void PWM_ClearFlag(PWM_TypeDef* PWMx, uint16_t PWM_FLAG)
000000  6081              STR      r1,[r0,#8]
;;;454    {
;;;455      /* Check the parameters */
;;;456      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;457      assert_param(IS_GET_PWM_FLAG(PWM_FLAG));
;;;458    
;;;459      /* Clear the flags */
;;;460      PWMx->PWM_STS = (uint16_t)PWM_FLAG;
;;;461    }
000002  4770              BX       lr
;;;462    
                          ENDP


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

                  PWM_Cmd PROC
;;;171     */
;;;172    void PWM_Cmd(PWM_TypeDef* PWMx, FunctionalState NewState)
000000  2900              CMP      r1,#0
;;;173    {
;;;174      /* Check the parameters */
;;;175      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;176      assert_param(IS_FUNCTIONAL_STATE(NewState));
;;;177    
;;;178      if(NewState != DISABLE)
;;;179      {
;;;180        /* Enable the PWM Counter */
;;;181        PWMx->PWM_CON |= PWM_CON_ENPWM;
;;;182      }
;;;183      else
;;;184      {
;;;185        /* Disable the PWM Counter */
;;;186        PWMx->PWM_CON &= (uint16_t)~PWM_CON_ENPWM;
000002  6801              LDR      r1,[r0,#0]
000004  d002              BEQ      |L2.12|
000006  2280              MOVS     r2,#0x80              ;181
000008  4311              ORRS     r1,r1,r2              ;181
00000a  e001              B        |L2.16|
                  |L2.12|
00000c  4a01              LDR      r2,|L2.20|
00000e  4011              ANDS     r1,r1,r2
                  |L2.16|
000010  6001              STR      r1,[r0,#0]            ;181
;;;187      }
;;;188    }
000012  4770              BX       lr
;;;189    
                          ENDP

                  |L2.20|
                          DCD      0x0000ff7f

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

                  PWM_DeInit PROC
;;;43      */
;;;44     void PWM_DeInit(PWM_TypeDef* PWMx)
000000  4906              LDR      r1,|L3.28|
;;;45     {
000002  b510              PUSH     {r4,lr}
;;;46       /* Check the parameters */
;;;47       assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;48     
;;;49       if(PWMx == PWM0)
000004  4288              CMP      r0,r1
000006  d108              BNE      |L3.26|
;;;50       {
;;;51         /* Enable PWM0 reset state */
;;;52         RCC_APB0PeriphResetCmd(RCC_APB0Periph_PWM0, ENABLE);
000008  1584              ASRS     r4,r0,#22
00000a  2101              MOVS     r1,#1
00000c  4620              MOV      r0,r4
00000e  f7fffffe          BL       RCC_APB0PeriphResetCmd
;;;53         /* Enable PWM0 reset state */
;;;54         RCC_APB0PeriphResetCmd(RCC_APB0Periph_PWM0, DISABLE);
000012  2100              MOVS     r1,#0
000014  4620              MOV      r0,r4
000016  f7fffffe          BL       RCC_APB0PeriphResetCmd
                  |L3.26|
;;;55       }
;;;56     }
00001a  bd10              POP      {r4,pc}
;;;57     
                          ENDP

                  |L3.28|
                          DCD      0x40020200

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

                  PWM_FDCmd PROC
;;;361     */
;;;362    void PWM_FDCmd(PWM_TypeDef* PWMx, FunctionalState NewState)
000000  2900              CMP      r1,#0
;;;363    {
;;;364      /* Check the parameters */
;;;365      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;366      assert_param(IS_FUNCTIONAL_STATE(NewState));
;;;367    
;;;368      if(NewState != DISABLE)
;;;369      {
;;;370        /* Enable the PWM Fault Dectection */
;;;371        PWMx->PWM_FLT |= PWM_FLT_FLTEN;
;;;372      }
;;;373      else
;;;374      {
;;;375        /* Disable the PWM Fault Dectection */
;;;376        PWMx->PWM_FLT &= (uint16_t)~PWM_FLT_FLTEN;
000002  6941              LDR      r1,[r0,#0x14]
000004  d002              BEQ      |L4.12|
000006  2280              MOVS     r2,#0x80              ;371
000008  4311              ORRS     r1,r1,r2              ;371
00000a  e001              B        |L4.16|
                  |L4.12|
00000c  4a01              LDR      r2,|L4.20|
00000e  4011              ANDS     r1,r1,r2
                  |L4.16|
000010  6141              STR      r1,[r0,#0x14]         ;371
;;;377      }
;;;378    }
000012  4770              BX       lr
;;;379    /**
                          ENDP

                  |L4.20|
                          DCD      0x0000ff7f

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

                  PWM_FDInit PROC
;;;345     */
;;;346    void PWM_FDInit(PWM_TypeDef* PWMx, PWM_FDInitTypeDef* PWM_FDInitStruct)
000000  6942              LDR      r2,[r0,#0x14]
;;;347    {
;;;348      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;349    
;;;350      PWMx->PWM_FLT &= (uint32_t) ~(PWM_FLT_FLTDT | PWM_FLT_FLTTV | PWM_FLT_FLTMD);
000002  2333              MOVS     r3,#0x33
000004  439a              BICS     r2,r2,r3
000006  6142              STR      r2,[r0,#0x14]
;;;351      PWMx->PWM_FLT |= (uint32_t)(PWM_FDInitStruct->PWM_FDFilteringTime | PWM_FDInitStruct->PWM_FDMode |
000008  6942              LDR      r2,[r0,#0x14]
00000a  888b              LDRH     r3,[r1,#4]
00000c  431a              ORRS     r2,r2,r3
00000e  880b              LDRH     r3,[r1,#0]
000010  8849              LDRH     r1,[r1,#2]
000012  430b              ORRS     r3,r3,r1
000014  431a              ORRS     r2,r2,r3
000016  6142              STR      r2,[r0,#0x14]
;;;352                                  PWM_FDInitStruct->PWM_FDVoltage);
;;;353    }
000018  4770              BX       lr
;;;354    
                          ENDP


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

                  PWM_FDStructInit PROC
;;;330      */
;;;331    void PWM_FDStructInit(PWM_FDInitTypeDef* PWM_FDInitStruct)
000000  2100              MOVS     r1,#0
;;;332    {
;;;333      /* Set the default configuration */
;;;334      PWM_FDInitStruct->PWM_FDFilteringTime = PWM_FilteringTime_0us;
000002  8081              STRH     r1,[r0,#4]
;;;335      PWM_FDInitStruct->PWM_FDMode = PWM_FDMode_Latch;
000004  8001              STRH     r1,[r0,#0]
;;;336      PWM_FDInitStruct->PWM_FDVoltage = PWM_FDVoltage_Low;
000006  8041              STRH     r1,[r0,#2]
;;;337    }
000008  4770              BX       lr
;;;338    
                          ENDP


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

                  PWM_FallingDeadTimeConfig PROC
;;;145     */
;;;146    void PWM_FallingDeadTimeConfig(PWM_TypeDef* PWMx, uint8_t PWM_FallingDeadTime)
000000  6902              LDR      r2,[r0,#0x10]
;;;147    {
;;;148      uint32_t tmpreg;
;;;149      /* Check the parameters */
;;;150      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;151    
;;;152      /* Get the PWMx PWM_DFR value */
;;;153      tmpreg = PWMx->PWM_DFR;
;;;154    
;;;155      /* Clear PDF bits */
;;;156      tmpreg &= (uint32_t) ~(PWM_DFR_PDF);
000002  230f              MOVS     r3,#0xf
000004  021b              LSLS     r3,r3,#8
000006  439a              BICS     r2,r2,r3
;;;157    
;;;158      /* Set PDF bits to Rising Dead Time value */
;;;159      tmpreg |= (uint32_t)(PWM_FallingDeadTime << PWM_DFR_PDF_Pos);
000008  0209              LSLS     r1,r1,#8
00000a  4311              ORRS     r1,r1,r2
;;;160    
;;;161      /* Write to PWMx PWM_DFR */
;;;162      PWMx->PWM_DFR = tmpreg;
00000c  6101              STR      r1,[r0,#0x10]
;;;163    }
00000e  4770              BX       lr
;;;164    
                          ENDP


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

                  PWM_GetCycle PROC
;;;243     */
;;;244    uint16_t PWM_GetCycle(PWM_TypeDef* PWMx)
000000  6980              LDR      r0,[r0,#0x18]
;;;245    {
;;;246      /* Check the parameters */
;;;247      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;248    
;;;249      /* Get the ReloadData Register value */
;;;250      return (uint16_t)PWMx->PWM_CYCLE;
000002  b280              UXTH     r0,r0
;;;251    }
000004  4770              BX       lr
;;;252    
                          ENDP


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

                  PWM_GetDuty PROC
;;;286     */
;;;287    uint16_t PWM_GetDuty(PWM_TypeDef* PWMx, PWM_Channel_Typedef PWM_Channel)
000000  b510              PUSH     {r4,lr}
;;;288    {
;;;289      uint8_t tmpvalue ;
;;;290    	uint32_t tmpchannel;
;;;291      /* Check the parameters */
;;;292      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;293      assert_param(IS_PWM_CHANNEL(PWM_Channel));
;;;294    
;;;295      tmpchannel = 1;
000002  2301              MOVS     r3,#1
000004  460c              MOV      r4,r1                 ;288
;;;296      for(tmpvalue = 0; tmpvalue < 8; tmpvalue++)
000006  2200              MOVS     r2,#0
                  |L9.8|
;;;297      {
;;;298        if((uint32_t)PWM_Channel & tmpchannel)
000008  421c              TST      r4,r3
00000a  d004              BEQ      |L9.22|
;;;299        {
;;;300          return (uint16_t)(PWMx->PWM_DT[tmpvalue]);
00000c  0091              LSLS     r1,r2,#2
00000e  1808              ADDS     r0,r1,r0
000010  6b00              LDR      r0,[r0,#0x30]
000012  b280              UXTH     r0,r0
;;;301        }
;;;302        tmpchannel = tmpchannel << 1;
;;;303      }
;;;304      return 0;
;;;305    }
000014  bd10              POP      {r4,pc}
                  |L9.22|
000016  1c52              ADDS     r2,r2,#1              ;302
000018  005b              LSLS     r3,r3,#1              ;302
00001a  b2d2              UXTB     r2,r2                 ;296
00001c  2a08              CMP      r2,#8                 ;296
00001e  d3f3              BCC      |L9.8|
000020  2000              MOVS     r0,#0                 ;304
000022  bd10              POP      {r4,pc}
;;;306    
                          ENDP


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

                  PWM_GetFlagStatus PROC
;;;427     */
;;;428    FlagStatus PWM_GetFlagStatus(PWM_TypeDef* PWMx, uint16_t PWM_FLAG)
000000  4602              MOV      r2,r0
;;;429    {
;;;430      ITStatus bitstatus = RESET;
;;;431      /* Check the parameters */
;;;432      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;433      assert_param(IS_PWM_FLAG(PWM_FLAG));
;;;434    
;;;435      if((PWMx->PWM_STS & PWM_FLAG) != (uint16_t)RESET)
000002  6892              LDR      r2,[r2,#8]
000004  2000              MOVS     r0,#0                 ;430
000006  420a              TST      r2,r1
000008  d000              BEQ      |L10.12|
;;;436      {
;;;437        bitstatus = SET;
00000a  2001              MOVS     r0,#1
                  |L10.12|
;;;438      }
;;;439      else
;;;440      {
;;;441        bitstatus = RESET;
;;;442      }
;;;443      return bitstatus;
;;;444    }
00000c  4770              BX       lr
;;;445    
                          ENDP


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

                  PWM_GetPrescaler PROC
;;;213     */
;;;214    PWM_Prescaler_TypeDef PWM_GetPrescaler(PWM_TypeDef* PWMx)
000000  6800              LDR      r0,[r0,#0]
;;;215    {
;;;216      /* Check the parameters */
;;;217      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;218    
;;;219      /* Get the CKD value */
;;;220      return (PWM_Prescaler_TypeDef)(PWMx->PWM_CON & PWM_CON_PWMCLK);
000002  0700              LSLS     r0,r0,#28
000004  0f00              LSRS     r0,r0,#28
;;;221    }
000006  4770              BX       lr
;;;222    
                          ENDP


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

                  PWM_ITConfig PROC
;;;401     */
;;;402    void PWM_ITConfig(PWM_TypeDef* PWMx, uint16_t PWM_IT, FunctionalState NewState)
000000  2a00              CMP      r2,#0
;;;403    {
;;;404      /* Check the parameters */
;;;405      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;406      assert_param(IS_PWM_IT(PWM_IT));
;;;407      assert_param(IS_FUNCTIONAL_STATE(NewState));
;;;408    
;;;409      if(NewState != DISABLE)
;;;410      {
;;;411        /* Enable the Interrupt sources */
;;;412        PWMx->PWM_CON |= PWM_IT;
;;;413      }
;;;414      else
;;;415      {
;;;416        /* Disable the Interrupt sources */
;;;417        PWMx->PWM_CON &= (uint16_t)~PWM_IT;
000002  6802              LDR      r2,[r0,#0]
000004  d001              BEQ      |L12.10|
000006  430a              ORRS     r2,r2,r1              ;412
000008  e002              B        |L12.16|
                  |L12.10|
00000a  43c9              MVNS     r1,r1
00000c  b289              UXTH     r1,r1
00000e  400a              ANDS     r2,r2,r1
                  |L12.16|
000010  6002              STR      r2,[r0,#0]            ;412
;;;418      }
;;;419    }
000012  4770              BX       lr
;;;420    
                          ENDP


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

                  PWM_Init PROC
;;;82      */
;;;83     void PWM_Init(PWM_TypeDef* PWMx, PWM_InitTypeDef* PWM_InitStruct)
000000  b510              PUSH     {r4,lr}
;;;84     {
;;;85       uint32_t tmpreg;
;;;86       /* Check the parameters */
;;;87       assert_param(IS_PWM_COMPLEMENTARY_PERIPH(PWMx));
;;;88     
;;;89       /*---------------------------- PWMx PWM_CON Configuration ------------------------*/
;;;90       /* Get the PWMx PWM_CON value */
;;;91       tmpreg = PWMx->PWM_CON;
000002  6802              LDR      r2,[r0,#0]
;;;92       /* Clear PWMCLK, PWMMD0 and PWMMD1 SPR bits */
;;;93       tmpreg &= (uint32_t)~(PWM_CON_PWMCLK | PWM_CON_PWMMD0 | PWM_CON_PWMMD1);
000004  236f              MOVS     r3,#0x6f
000006  439a              BICS     r2,r2,r3
;;;94       /* Configure PWMx: Prescaler, AlignedMode and WorkMode */
;;;95       /* Set PWMCLK bits according to Prescaler value */
;;;96       /* Set PWMMD0 bit according to AlignedMode value */
;;;97     	/* Set PWMMD1 bit according to WorkMode value */
;;;98       tmpreg |= (uint32_t)(PWM_InitStruct->PWM_Prescaler | PWM_InitStruct->PWM_AlignedMode |
000008  880b              LDRH     r3,[r1,#0]
00000a  884c              LDRH     r4,[r1,#2]
00000c  4323              ORRS     r3,r3,r4
00000e  888c              LDRH     r4,[r1,#4]
000010  4314              ORRS     r4,r4,r2
000012  4323              ORRS     r3,r3,r4
;;;99     											PWM_InitStruct->PWM_WorkMode);
;;;100    
;;;101      /* Write to PWMx PWM_CON */
;;;102      PWMx->PWM_CON = tmpreg;
000014  6003              STR      r3,[r0,#0]
;;;103    
;;;104      /* Write to PWMx PWM_CHN */
;;;105      PWMx->PWM_CHN = PWM_InitStruct->PWM_OutputChannel;
000016  688a              LDR      r2,[r1,#8]
000018  6042              STR      r2,[r0,#4]
;;;106    
;;;107      /* Write to PWMx PWM_INV */
;;;108      PWMx->PWM_INV = PWM_InitStruct->PWM_LowPolarityChannl;
00001a  68ca              LDR      r2,[r1,#0xc]
00001c  60c2              STR      r2,[r0,#0xc]
;;;109    
;;;110      /* Write to PWMx PWM_CYCLE */
;;;111      PWMx->PWM_CYCLE = PWM_InitStruct->PWM_Cycle;
00001e  88c9              LDRH     r1,[r1,#6]
000020  6181              STR      r1,[r0,#0x18]
;;;112    }
000022  bd10              POP      {r4,pc}
;;;113    
                          ENDP


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

                  PWM_RisingDeadTimeConfig PROC
;;;120     */
;;;121    void PWM_RisingDeadTimeConfig(PWM_TypeDef* PWMx, uint8_t PWM_RisingDeadTime)
000000  6902              LDR      r2,[r0,#0x10]
;;;122    {
;;;123      uint32_t tmpreg;
;;;124      /* Check the parameters */
;;;125      assert_param(IS_PWM_COMPLEMENTARY_PERIPH(PWMx));
;;;126    
;;;127      /* Get the PWMx PWM_DFR value */
;;;128      tmpreg = PWMx->PWM_DFR;
;;;129    
;;;130      /* Clear PDR bits */
;;;131      tmpreg &= (uint32_t) ~(PWM_DFR_PDR);
000002  0912              LSRS     r2,r2,#4
000004  0112              LSLS     r2,r2,#4
;;;132    
;;;133      /* Set PDR bits to Rising Dead Time value */
;;;134      tmpreg |= (uint32_t)(PWM_RisingDeadTime << PWM_DFR_PDR_Pos);
000006  430a              ORRS     r2,r2,r1
;;;135    
;;;136      /* Write to PWMx PWM_DFR */
;;;137      PWMx->PWM_DFR = tmpreg;
000008  6102              STR      r2,[r0,#0x10]
;;;138    }
00000a  4770              BX       lr
;;;139    
                          ENDP


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

                  PWM_SetCycle PROC
;;;229     */
;;;230    void PWM_SetCycle(PWM_TypeDef* PWMx, uint32_t PWM_Cycle)
000000  6181              STR      r1,[r0,#0x18]
;;;231    {
;;;232      /* Check the parameters */
;;;233      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;234    
;;;235      /* Set the ReloadData Register value */
;;;236      PWMx->PWM_CYCLE = PWM_Cycle;
;;;237    }
000002  4770              BX       lr
;;;238    
                          ENDP


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

                  PWM_SetDuty PROC
;;;260     */
;;;261    void PWM_SetDuty(PWM_TypeDef* PWMx, PWM_Channel_Typedef PWM_Channel, uint16_t PWM_Duty)
000000  b530              PUSH     {r4,r5,lr}
;;;262    {
;;;263      uint8_t tmpvalue;
;;;264      uint32_t tmpchannel;
;;;265      /* Check the parameters */
;;;266      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;267      assert_param(IS_PWM_CHANNEL(PWM_Channel));
;;;268    
;;;269      tmpchannel = 1;
000002  2401              MOVS     r4,#1
;;;270      for(tmpvalue = 0; tmpvalue < 8; tmpvalue++)
000004  2300              MOVS     r3,#0
                  |L16.6|
;;;271      {
;;;272        if((uint32_t)PWM_Channel & tmpchannel)
000006  4221              TST      r1,r4
000008  d002              BEQ      |L16.16|
;;;273        {
;;;274          PWMx->PWM_DT[tmpvalue] = PWM_Duty;
00000a  009d              LSLS     r5,r3,#2
00000c  182d              ADDS     r5,r5,r0
00000e  632a              STR      r2,[r5,#0x30]
                  |L16.16|
;;;275        }
;;;276        tmpchannel = tmpchannel << 1;
000010  1c5b              ADDS     r3,r3,#1
000012  0064              LSLS     r4,r4,#1
000014  b2db              UXTB     r3,r3                 ;270
000016  2b08              CMP      r3,#8                 ;270
000018  d3f5              BCC      |L16.6|
;;;277      }
;;;278    }
00001a  bd30              POP      {r4,r5,pc}
;;;279    
                          ENDP


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

                  PWM_SetPrescaler PROC
;;;195     */
;;;196    void PWM_SetPrescaler(PWM_TypeDef* PWMx, PWM_Prescaler_TypeDef PWM_Prescaler)
000000  6802              LDR      r2,[r0,#0]
;;;197    {
;;;198      /* Check the parameters */
;;;199      assert_param(IS_PWM_ALL_PERIPH(PWMx));
;;;200      assert_param(IS_PWM_PRESCALER(PWM_Prescaler));
;;;201    
;;;202      /* Reset the CKD Bits */
;;;203      PWMx->PWM_CON &= (uint16_t)~(PWM_CON_PWMCLK);
000002  4b03              LDR      r3,|L17.16|
000004  401a              ANDS     r2,r2,r3
000006  6002              STR      r2,[r0,#0]
;;;204    
;;;205      /* Set the CKD value */
;;;206      PWMx->PWM_CON |= PWM_Prescaler;
000008  6802              LDR      r2,[r0,#0]
00000a  430a              ORRS     r2,r2,r1
00000c  6002              STR      r2,[r0,#0]
;;;207    }
00000e  4770              BX       lr
;;;208    
                          ENDP

                  |L17.16|
                          DCD      0x0000fff0

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

                  PWM_StructInit PROC
;;;63       */
;;;64     void PWM_StructInit(PWM_InitTypeDef* PWM_InitStruct)
000000  2100              MOVS     r1,#0
;;;65     {
;;;66       /* Set the default configuration */
;;;67       PWM_InitStruct->PWM_AlignedMode = PWM_AlignmentMode_Edge;
000002  8041              STRH     r1,[r0,#2]
;;;68       PWM_InitStruct->PWM_Cycle = 0x0000;
000004  80c1              STRH     r1,[r0,#6]
;;;69       PWM_InitStruct->PWM_LowPolarityChannl = PWMChannel_Less;
;;;70       PWM_InitStruct->PWM_OutputChannel = PWMChannel_Less;
000006  60c1              STR      r1,[r0,#0xc]
;;;71     	PWM_InitStruct->PWM_Prescaler = PWM_PRESCALER_DIV1;
000008  6081              STR      r1,[r0,#8]
00000a  8001              STRH     r1,[r0,#0]
;;;72     	PWM_InitStruct->PWM_WorkMode = PWM_WorkMode_Independent;
00000c  8081              STRH     r1,[r0,#4]
;;;73     }
00000e  4770              BX       lr
;;;74     
                          ENDP


;*** Start embedded assembler ***

#line 1 "..\\FWLib\\SC32F1XXX_Lib\\src\\sc32f1xxx_pwm.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___15_sc32f1xxx_pwm_c_a9b1a8f2____REV16|
#line 463 "..\\CMSIS\\cmsis_armcc.h"
|__asm___15_sc32f1xxx_pwm_c_a9b1a8f2____REV16| PROC
#line 464

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

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
