; 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_crc.o --asm_dir=..\List\ --list_dir=..\List\ --depend=..\output\sc32f1xxx_crc.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_crc.crf ..\FWLib\SC32F1XXX_Lib\src\sc32f1xxx_crc.c]
                          THUMB

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

                  CRC_Accumulate PROC
;;;226      */
;;;227    uint32_t CRC_Accumulate(CRC_InputData_Format_TypeDef InputDataFormat, uint32_t pBuffer[], uint32_t BufferLength)
000000  460b              MOV      r3,r1
;;;228    {
000002  4601              MOV      r1,r0
000004  b510              PUSH     {r4,lr}
;;;229      uint32_t index;      /* CRC input data buffer index */
;;;230      uint32_t temp = 0U;  /* CRC output (read from CRC->CRC_DRregister) */
000006  2000              MOVS     r0,#0
;;;231    
;;;232    
;;;233      switch(InputDataFormat)
000008  2901              CMP      r1,#1
00000a  d00d              BEQ      |L1.40|
00000c  2902              CMP      r1,#2
00000e  d010              BEQ      |L1.50|
000010  2903              CMP      r1,#3
000012  d108              BNE      |L1.38|
;;;234      {
;;;235        case CRC_InputData_Format_WORDS:
;;;236          /* Enter Data to the CRC calculator */
;;;237          for(index = 0U; index < BufferLength; index++)
;;;238          {
;;;239            CRC->CRC_DR = pBuffer[index];
000014  4909              LDR      r1,|L1.60|
000016  e003              B        |L1.32|
                  |L1.24|
000018  0084              LSLS     r4,r0,#2
00001a  591c              LDR      r4,[r3,r4]
00001c  600c              STR      r4,[r1,#0]
00001e  1c40              ADDS     r0,r0,#1
                  |L1.32|
000020  4290              CMP      r0,r2                 ;237
000022  d3f9              BCC      |L1.24|
;;;240          }
;;;241          temp = CRC->CRC_DR;
000024  6808              LDR      r0,[r1,#0]
                  |L1.38|
;;;242          break;
;;;243    
;;;244        case CRC_InputData_Format_BYTES:
;;;245          temp = CRC_Handle_8((uint8_t*)pBuffer, BufferLength);
;;;246          break;
;;;247    
;;;248        case CRC_InputData_Format_HALFWORDS:
;;;249          temp = CRC_Handle_16((uint16_t*)(void*)pBuffer, BufferLength);      /* Derogation MisraC2012 R.11.5 */
;;;250          break;
;;;251      }
;;;252    
;;;253      /* Return the CRC computed value */
;;;254      return temp;
;;;255    }
000026  bd10              POP      {r4,pc}
                  |L1.40|
000028  4611              MOV      r1,r2                 ;245
00002a  4618              MOV      r0,r3                 ;245
00002c  f7fffffe          BL       CRC_Handle_8
000030  bd10              POP      {r4,pc}
                  |L1.50|
000032  4611              MOV      r1,r2                 ;249
000034  4618              MOV      r0,r3                 ;249
000036  f7fffffe          BL       CRC_Handle_16
00003a  bd10              POP      {r4,pc}
;;;256    
                          ENDP

                  |L1.60|
                          DCD      0x40002000

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

                  CRC_CalcCRC PROC
;;;166      */
;;;167    uint32_t CRC_CalcCRC(uint32_t CRC_Data)
000000  4901              LDR      r1,|L2.8|
;;;168    {
;;;169      /* Write to CRC_DR */
;;;170      CRC->CRC_DR = CRC_Data;
000002  6008              STR      r0,[r1,#0]
;;;171    	
;;;172    	return (CRC->CRC_DR);
000004  6808              LDR      r0,[r1,#0]
;;;173    }
000006  4770              BX       lr
;;;174    
                          ENDP

                  |L2.8|
                          DCD      0x40002000

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

                  CRC_CalcCRC16bits PROC
;;;179      */
;;;180    uint32_t CRC_CalcCRC16bits(uint16_t CRC_Data)
000000  4901              LDR      r1,|L3.8|
;;;181    {
;;;182      *(volatile uint16_t*)(&CRC->CRC_DR) = (uint16_t) CRC_Data;
000002  8008              STRH     r0,[r1,#0]
;;;183      
;;;184      return (CRC->CRC_DR);
000004  6808              LDR      r0,[r1,#0]
;;;185    }
000006  4770              BX       lr
;;;186    
                          ENDP

                  |L3.8|
                          DCD      0x40002000

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

                  CRC_CalcCRC8bits PROC
;;;191      */
;;;192    uint32_t CRC_CalcCRC8bits(uint8_t CRC_Data)
000000  4901              LDR      r1,|L4.8|
;;;193    {
;;;194      *(volatile uint8_t*)(&CRC->CRC_DR) = (uint8_t) CRC_Data;
000002  7008              STRB     r0,[r1,#0]
;;;195      return (CRC->CRC_DR);
000004  6808              LDR      r0,[r1,#0]
;;;196    }
000006  4770              BX       lr
;;;197    
                          ENDP

                  |L4.8|
                          DCD      0x40002000

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

                  CRC_Calculate PROC
;;;266      */
;;;267    uint32_t CRC_Calculate(CRC_InputData_Format_TypeDef InputDataFormat, uint32_t pBuffer[], uint32_t BufferLength)
000000  b570              PUSH     {r4-r6,lr}
;;;268    {
000002  4614              MOV      r4,r2
000004  460d              MOV      r5,r1
000006  4603              MOV      r3,r0
;;;269      uint32_t index;      /* CRC input data buffer index */
;;;270      uint32_t temp = 0U;  /* CRC output (read from CRC->CRC_DRregister) */
000008  2600              MOVS     r6,#0
;;;271    
;;;272    
;;;273      /* Reset CRC Calculation Unit */
;;;274      CRC_ResetDR();
00000a  f7fffffe          BL       CRC_ResetDR
;;;275    
;;;276      switch(InputDataFormat)
00000e  2b01              CMP      r3,#1
000010  d00e              BEQ      |L5.48|
000012  2b02              CMP      r3,#2
000014  d011              BEQ      |L5.58|
000016  2b03              CMP      r3,#3
000018  d114              BNE      |L5.68|
;;;277      {
;;;278        case CRC_InputData_Format_WORDS:
;;;279          /* Enter 32-bit input data to the CRC calculator */
;;;280          for(index = 0U; index < BufferLength; index++)
00001a  2000              MOVS     r0,#0
;;;281          {
;;;282            CRC->CRC_DR = pBuffer[index];
00001c  490a              LDR      r1,|L5.72|
00001e  e003              B        |L5.40|
                  |L5.32|
000020  0082              LSLS     r2,r0,#2
000022  58aa              LDR      r2,[r5,r2]
000024  600a              STR      r2,[r1,#0]
000026  1c40              ADDS     r0,r0,#1
                  |L5.40|
000028  42a0              CMP      r0,r4                 ;280
00002a  d3f9              BCC      |L5.32|
;;;283          }
;;;284          temp = CRC->CRC_DR;
00002c  680e              LDR      r6,[r1,#0]
;;;285          break;
00002e  e009              B        |L5.68|
                  |L5.48|
;;;286    
;;;287        case CRC_InputData_Format_BYTES:
;;;288          /* Specific 8-bit input data handling  */
;;;289          temp = CRC_Handle_8((uint8_t*)pBuffer, BufferLength);
000030  4621              MOV      r1,r4
000032  4628              MOV      r0,r5
000034  f7fffffe          BL       CRC_Handle_8
;;;290          break;
000038  e003              B        |L5.66|
                  |L5.58|
;;;291    
;;;292        case CRC_InputData_Format_HALFWORDS:
;;;293          /* Specific 16-bit input data handling  */
;;;294          temp = CRC_Handle_16((uint16_t*)(void*)pBuffer, BufferLength);      /* Derogation MisraC2012 R.11.5 */
00003a  4621              MOV      r1,r4
00003c  4628              MOV      r0,r5
00003e  f7fffffe          BL       CRC_Handle_16
                  |L5.66|
000042  4606              MOV      r6,r0                 ;289
                  |L5.68|
;;;295          break;
;;;296      }
;;;297    
;;;298      /* Return the CRC computed value */
;;;299      return temp;
000044  4630              MOV      r0,r6
;;;300    }
000046  bd70              POP      {r4-r6,pc}
;;;301    
                          ENDP

                  |L5.72|
                          DCD      0x40002000

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

                  CRC_DeInit PROC
;;;45      */
;;;46     void CRC_DeInit(void)
000000  b510              PUSH     {r4,lr}
;;;47     {
;;;48       RCC_AHBPeriphResetCmd(RCC_AHBPeriph_CRC, ENABLE);
000002  2101              MOVS     r1,#1
000004  2002              MOVS     r0,#2
000006  f7fffffe          BL       RCC_AHBPeriphResetCmd
;;;49       RCC_AHBPeriphResetCmd(RCC_AHBPeriph_CRC, DISABLE);
00000a  2100              MOVS     r1,#0
00000c  2002              MOVS     r0,#2
00000e  f7fffffe          BL       RCC_AHBPeriphResetCmd
;;;50     }
000012  bd10              POP      {r4,pc}
;;;51     
                          ENDP


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

                  CRC_GetCRC PROC
;;;207     */
;;;208    uint32_t CRC_GetCRC(void)
000000  4801              LDR      r0,|L7.8|
;;;209    {
;;;210      return (CRC->CRC_DR);
000002  6800              LDR      r0,[r0,#0]
;;;211    }
000004  4770              BX       lr
;;;212    
                          ENDP

000006  0000              DCW      0x0000
                  |L7.8|
                          DCD      0x40002000

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

                  CRC_Handle_16 PROC
;;;358      */
;;;359    static uint32_t CRC_Handle_16(uint16_t pBuffer[], uint32_t BufferLength)
000000  b5f3              PUSH     {r0,r1,r4-r7,lr}
;;;360    {
000002  b081              SUB      sp,sp,#4
000004  4605              MOV      r5,r0
;;;361      uint32_t i;  /* input data buffer index */
;;;362      __IO uint16_t* pReg;
;;;363    
;;;364      /* Processing time optimization: 2 HalfWords are entered in a row with a single word write,
;;;365       * in case of odd length, last HalfWord must be carefully fed to the CRC calculator to ensure
;;;366       * a correct type handling by the peripheral */
;;;367      for(i = 0U; i < (BufferLength / 2U); i++)
000006  9802              LDR      r0,[sp,#8]
000008  2400              MOVS     r4,#0
;;;368      {
;;;369        CRC->CRC_DR = ((uint32_t)pBuffer[2U * i] << 16U) | (uint32_t)pBuffer[(2U * i) + 1U];
00000a  4f0a              LDR      r7,|L8.52|
00000c  0846              LSRS     r6,r0,#1              ;367
00000e  e007              B        |L8.32|
                  |L8.16|
000010  00a0              LSLS     r0,r4,#2
000012  1940              ADDS     r0,r0,r5
000014  f7fffffe          BL       __aeabi_uread4
000018  2110              MOVS     r1,#0x10
00001a  41c8              RORS     r0,r0,r1
00001c  6038              STR      r0,[r7,#0]
00001e  1c64              ADDS     r4,r4,#1
                  |L8.32|
000020  42a6              CMP      r6,r4                 ;367
000022  d8f5              BHI      |L8.16|
;;;370      }
;;;371      if((BufferLength % 2U) != 0U)
000024  9802              LDR      r0,[sp,#8]
000026  07c0              LSLS     r0,r0,#31
000028  d002              BEQ      |L8.48|
;;;372      {
;;;373        pReg = (__IO uint16_t*)(__IO void*)(&CRC->CRC_DR);                   /* Derogation MisraC2012 R.11.5 */
;;;374        *pReg = pBuffer[2U * i];
00002a  00a0              LSLS     r0,r4,#2
00002c  5a28              LDRH     r0,[r5,r0]
00002e  8038              STRH     r0,[r7,#0]
                  |L8.48|
;;;375      }
;;;376    
;;;377      /* Return the CRC computed value */
;;;378      return CRC->CRC_DR;
000030  6838              LDR      r0,[r7,#0]
;;;379    }
000032  bdfe              POP      {r1-r7,pc}
;;;380    
                          ENDP

                  |L8.52|
                          DCD      0x40002000

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

                  CRC_Handle_8 PROC
;;;308      */
;;;309    static uint32_t CRC_Handle_8(uint8_t pBuffer[], uint32_t BufferLength)
000000  b5f8              PUSH     {r3-r7,lr}
;;;310    {
000002  4605              MOV      r5,r0
;;;311      uint32_t i; /* input data buffer index */
;;;312      uint16_t data;
;;;313      __IO uint16_t* pReg;
;;;314    
;;;315      /* Processing time optimization: 4 bytes are entered in a row with a single word write,
;;;316       * last bytes must be carefully fed to the CRC calculator to ensure a correct type
;;;317       * handling by the peripheral */
;;;318      for(i = 0U; i < (BufferLength / 4U); i++)
000004  2400              MOVS     r4,#0
000006  0888              LSRS     r0,r1,#2
000008  460e              MOV      r6,r1                 ;310
00000a  9000              STR      r0,[sp,#0]            ;310
00000c  e00d              B        |L9.42|
                  |L9.14|
;;;319      {
;;;320        CRC->CRC_DR = ((uint32_t)pBuffer[4U * i] << 24U) | \
00000e  00a0              LSLS     r0,r4,#2
000010  1940              ADDS     r0,r0,r5
000012  4607              MOV      r7,r0
000014  f7fffffe          BL       __aeabi_uread4
000018  ba00              REV      r0,r0
00001a  0a00              LSRS     r0,r0,#8
00001c  78f9              LDRB     r1,[r7,#3]
00001e  0200              LSLS     r0,r0,#8
000020  4308              ORRS     r0,r0,r1
000022  4916              LDR      r1,|L9.124|
000024  6008              STR      r0,[r1,#0]
000026  9800              LDR      r0,[sp,#0]
000028  1c64              ADDS     r4,r4,#1
                  |L9.42|
00002a  42a0              CMP      r0,r4                 ;318
00002c  d8ef              BHI      |L9.14|
;;;321                      ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \
;;;322                      ((uint32_t)pBuffer[(4U * i) + 2U] << 8U)  | \
;;;323                      (uint32_t)pBuffer[(4U * i) + 3U];
;;;324      }
;;;325      /* last bytes specific handling */
;;;326      if((BufferLength % 4U) != 0U)
00002e  07b0              LSLS     r0,r6,#30
000030  d020              BEQ      |L9.116|
;;;327      {
;;;328        if((BufferLength % 4U) == 1U)
000032  07b0              LSLS     r0,r6,#30
000034  0f80              LSRS     r0,r0,#30
000036  2801              CMP      r0,#1
000038  d103              BNE      |L9.66|
;;;329        {
;;;330          *(__IO uint8_t*)(__IO void*)(&CRC->CRC_DR) = pBuffer[4U * i];           /* Derogation MisraC2012 R.11.5 */
00003a  00a1              LSLS     r1,r4,#2
00003c  5c6a              LDRB     r2,[r5,r1]
00003e  490f              LDR      r1,|L9.124|
000040  700a              STRB     r2,[r1,#0]
                  |L9.66|
;;;331        }
;;;332        if((BufferLength % 4U) == 2U)
000042  2802              CMP      r0,#2
000044  d108              BNE      |L9.88|
;;;333        {
;;;334          data = (uint16_t)(((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]);
000046  00a0              LSLS     r0,r4,#2
000048  1940              ADDS     r0,r0,r5
00004a  7841              LDRB     r1,[r0,#1]
00004c  7802              LDRB     r2,[r0,#0]
00004e  0208              LSLS     r0,r1,#8
000050  4310              ORRS     r0,r0,r2
;;;335          pReg = (__IO uint16_t*)(__IO void*)(&CRC->CRC_DR);                      /* Derogation MisraC2012 R.11.5 */
000052  490a              LDR      r1,|L9.124|
000054  ba40              REV16    r0,r0                 ;334
;;;336          *pReg = data;
000056  8008              STRH     r0,[r1,#0]
                  |L9.88|
;;;337        }
;;;338        if((BufferLength % 4U) == 3U)
000058  43f0              MVNS     r0,r6
00005a  0780              LSLS     r0,r0,#30
00005c  d10a              BNE      |L9.116|
;;;339        {
;;;340          data = (uint16_t)(((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]);
00005e  00a0              LSLS     r0,r4,#2
000060  1940              ADDS     r0,r0,r5
000062  7841              LDRB     r1,[r0,#1]
000064  7802              LDRB     r2,[r0,#0]
000066  0209              LSLS     r1,r1,#8
000068  4311              ORRS     r1,r1,r2
;;;341          pReg = (__IO uint16_t*)(__IO void*)(&CRC->CRC_DR);                      /* Derogation MisraC2012 R.11.5 */
00006a  4a04              LDR      r2,|L9.124|
00006c  ba49              REV16    r1,r1                 ;340
;;;342          *pReg = data;
00006e  8011              STRH     r1,[r2,#0]
;;;343    
;;;344          *(__IO uint8_t*)(__IO void*)(&CRC->CRC_DR) = pBuffer[(4U * i) + 2U];    /* Derogation MisraC2012 R.11.5 */
000070  7880              LDRB     r0,[r0,#2]
000072  7010              STRB     r0,[r2,#0]
                  |L9.116|
;;;345        }
;;;346      }
;;;347    
;;;348      /* Return the CRC computed value */
;;;349      return CRC->CRC_DR;
000074  4801              LDR      r0,|L9.124|
000076  6800              LDR      r0,[r0,#0]
;;;350    }
000078  bdf8              POP      {r3-r7,pc}
;;;351    
                          ENDP

00007a  0000              DCW      0x0000
                  |L9.124|
                          DCD      0x40002000

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

                  CRC_Init PROC
;;;57      */
;;;58     void CRC_Init(CRC_InitTypeDef* CRC_InitStruct)
000000  8803              LDRH     r3,[r0,#0]
;;;59     {
;;;60       /*---------------------------- CRC_CON Configuration ------------------------*/
;;;61       /* check whether or not non-default generating polynomial has been
;;;62       * picked up by user */
;;;63       assert_param(IS_CRC_POLYSIZE(CRC_InitStruct->DefaultPolynomialUse));
;;;64       if(CRC_InitStruct->DefaultPolynomialUse == DEFAULT_Polynomial_Enable)
;;;65       {
;;;66         /* initialize peripheral with default generating polynomial */
;;;67         CRC->CRC_POL = DEFAULT_CRC32_POLY;
;;;68     
;;;69         CRC->CRC_CON &= (uint32_t) ~CRC_CON_POLYSIZE;
000002  22c0              MOVS     r2,#0xc0
000004  490d              LDR      r1,|L10.60|
000006  2b00              CMP      r3,#0                 ;64
000008  d00e              BEQ      |L10.40|
;;;70       }
;;;71       else
;;;72       {
;;;73         /* Check the parameters */
;;;74         assert_param(IS_CRC_POLYSIZE(CRC_InitStruct->CRCSize));
;;;75     		
;;;76         /* initialize CRC peripheral with generating polynomial defined by user */
;;;77         CRC->CRC_POL = CRC_InitStruct->GeneratingPolynomial;
00000a  6843              LDR      r3,[r0,#4]
00000c  60cb              STR      r3,[r1,#0xc]
;;;78     
;;;79         CRC->CRC_CON &= (uint32_t) ~CRC_CON_POLYSIZE;
00000e  684b              LDR      r3,[r1,#4]
000010  4393              BICS     r3,r3,r2
000012  604b              STR      r3,[r1,#4]
;;;80     
;;;81         /* Set CRC_CON bit to CRCSize value */
;;;82         CRC->CRC_CON |= (uint32_t)CRC_InitStruct->CRCSize ;
000014  684a              LDR      r2,[r1,#4]
000016  68c3              LDR      r3,[r0,#0xc]
000018  431a              ORRS     r2,r2,r3
00001a  604a              STR      r2,[r1,#4]
                  |L10.28|
;;;83       }
;;;84     
;;;85       /* check whether or not non-default CRC initial value has been
;;;86        * picked up by user */
;;;87       assert_param(IS_DEFAULT_INITVALUE(CRC_InitStruct->DefaultInitValueUse));
;;;88       if(CRC_InitStruct->DefaultInitValueUse == DEFAULT_InitValue_Enable)
00001c  8842              LDRH     r2,[r0,#2]
00001e  2a00              CMP      r2,#0
000020  d008              BEQ      |L10.52|
;;;89       {
;;;90         CRC->CRC_INT = DEFAULT_CRC_INITVALUE;
;;;91       }
;;;92       else
;;;93       {
;;;94         CRC->CRC_INT = CRC_InitStruct->InitValue;
000022  6880              LDR      r0,[r0,#8]
                  |L10.36|
000024  6088              STR      r0,[r1,#8]            ;90
;;;95       }
;;;96     
;;;97     }
000026  4770              BX       lr
                  |L10.40|
000028  4b05              LDR      r3,|L10.64|
00002a  60cb              STR      r3,[r1,#0xc]          ;67
00002c  684b              LDR      r3,[r1,#4]            ;69
00002e  4393              BICS     r3,r3,r2              ;69
000030  604b              STR      r3,[r1,#4]            ;69
000032  e7f3              B        |L10.28|
                  |L10.52|
000034  2000              MOVS     r0,#0                 ;90
000036  43c0              MVNS     r0,r0                 ;90
000038  e7f4              B        |L10.36|
;;;98     
                          ENDP

00003a  0000              DCW      0x0000
                  |L10.60|
                          DCD      0x40002000
                  |L10.64|
                          DCD      0x04c11db7

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

                  CRC_PolynomialSizeSelect PROC
;;;104      */
;;;105    void CRC_PolynomialSizeSelect(CRC_POLYSIZE_TypeDef CRC_PolSize)
000000  4904              LDR      r1,|L11.20|
;;;106    {
;;;107      /* Check the parameter */
;;;108      assert_param(IS_CRC_POLYSIZE(CRC_PolSize));
;;;109    
;;;110      /* Reset POL_SIZE bits */
;;;111      CRC->CRC_CON &= (uint32_t)~((uint32_t)CRC_CON_POLYSIZE);
000002  684a              LDR      r2,[r1,#4]
000004  23c0              MOVS     r3,#0xc0
000006  439a              BICS     r2,r2,r3
000008  604a              STR      r2,[r1,#4]
;;;112      /* Set the polynomial size */
;;;113      CRC->CRC_CON |= (uint32_t)CRC_PolSize;
00000a  684a              LDR      r2,[r1,#4]
00000c  4302              ORRS     r2,r2,r0
00000e  604a              STR      r2,[r1,#4]
;;;114    }
000010  4770              BX       lr
;;;115    
                          ENDP

000012  0000              DCW      0x0000
                  |L11.20|
                          DCD      0x40002000

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

                  CRC_ResetDR PROC
;;;152     */
;;;153    void CRC_ResetDR(void)
000000  4802              LDR      r0,|L12.12|
;;;154    {
;;;155      /* Set CRCRST bit to CRC_CON */
;;;156      CRC->CRC_CON |= CRC_CON_CRCRST;
000002  6841              LDR      r1,[r0,#4]
000004  2201              MOVS     r2,#1
000006  4311              ORRS     r1,r1,r2
000008  6041              STR      r1,[r0,#4]
;;;157    }
00000a  4770              BX       lr
;;;158    /**
                          ENDP

                  |L12.12|
                          DCD      0x40002000

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

                  CRC_SetInitRegister PROC
;;;121      */
;;;122    void CRC_SetInitRegister(uint32_t CRC_InitValue)
000000  4901              LDR      r1,|L13.8|
;;;123    {
;;;124      CRC->CRC_INT = CRC_InitValue;
000002  6088              STR      r0,[r1,#8]
;;;125    }
000004  4770              BX       lr
;;;126    
                          ENDP

000006  0000              DCW      0x0000
                  |L13.8|
                          DCD      0x40002000

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

                  CRC_SetPolynomial PROC
;;;131      */
;;;132    void CRC_SetPolynomial(uint32_t CRC_Pol)
000000  4901              LDR      r1,|L14.8|
;;;133    {
;;;134      CRC->CRC_POL = CRC_Pol;
000002  60c8              STR      r0,[r1,#0xc]
;;;135    }
000004  4770              BX       lr
;;;136    
                          ENDP

000006  0000              DCW      0x0000
                  |L14.8|
                          DCD      0x40002000

;*** Start embedded assembler ***

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

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

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
