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

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

                  INT_ClearFlag PROC
;;;423     */
;;;424    void INT_ClearFlag ( uint32_t INT_Channel )
000000  b510              PUSH     {r4,lr}
;;;425    {
000002  4602              MOV      r2,r0
;;;426        /* Check the parameters */
;;;427        assert_param ( IS_INT_CHANNEL ( INT_Channel ) );
;;;428        uint32_t mask = INT_Channel;
000004  4610              MOV      r0,r2
;;;429        uint8_t bit_pos = 0;
000006  2100              MOVS     r1,#0
;;;430        /* Clear INTR_STS and INTF_STS Register */
;;;431        while(mask !=0)
000008  e00e              B        |L1.40|
                  |L1.10|
;;;432        {
;;;433          if(mask & 0x01)
00000a  07c3              LSLS     r3,r0,#31
00000c  0fdb              LSRS     r3,r3,#31
00000e  2b00              CMP      r3,#0
000010  d007              BEQ      |L1.34|
;;;434          {
;;;435            FT_BIT(bit_pos) = 0;
000012  2300              MOVS     r3,#0
000014  4c06              LDR      r4,|L1.48|
000016  190c              ADDS     r4,r1,r4
000018  7023              STRB     r3,[r4,#0]
;;;436            RT_BIT(bit_pos) = 0;
00001a  4c05              LDR      r4,|L1.48|
00001c  3420              ADDS     r4,r4,#0x20
00001e  190c              ADDS     r4,r1,r4
000020  7023              STRB     r3,[r4,#0]
                  |L1.34|
;;;437          
;;;438          }
;;;439          mask >>=1;
000022  0840              LSRS     r0,r0,#1
;;;440          bit_pos++;
000024  1c4b              ADDS     r3,r1,#1
000026  b2d9              UXTB     r1,r3
                  |L1.40|
000028  2800              CMP      r0,#0                 ;431
00002a  d1ee              BNE      |L1.10|
;;;441        }
;;;442    		
;;;443    }
00002c  bd10              POP      {r4,pc}
;;;444    
                          ENDP

00002e  0000              DCW      0x0000
                  |L1.48|
                          DCD      0x400118c0

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

                  INT_DeInit PROC
;;;43      */
;;;44     void INT_DeInit ( void )
000000  2000              MOVS     r0,#0
;;;45     {
;;;46         INT->INTF_IE  = ( uint16_t ) 0x00000000U;
000002  4908              LDR      r1,|L2.36|
000004  6008              STR      r0,[r1,#0]
;;;47         INT->INTR_IE  = ( uint16_t ) 0x00000000U;
000006  6208              STR      r0,[r1,#0x20]
;;;48         INT->INT_SEL0 = ( uint16_t ) 0x00000000U;
000008  4906              LDR      r1,|L2.36|
00000a  3140              ADDS     r1,r1,#0x40
00000c  6008              STR      r0,[r1,#0]
;;;49         INT->INT_SEL1 = ( uint16_t ) 0x00000000U;
00000e  6208              STR      r0,[r1,#0x20]
;;;50         INT->INTF_CON = ( uint16_t ) 0x00000000U;
000010  4904              LDR      r1,|L2.36|
000012  3180              ADDS     r1,r1,#0x80
000014  6008              STR      r0,[r1,#0]
;;;51         INT->INTR_CON = ( uint16_t ) 0x00000000U;
000016  6208              STR      r0,[r1,#0x20]
;;;52         INT->INTF_STS = ( uint16_t ) 0x00000000U;
000018  4902              LDR      r1,|L2.36|
00001a  31c0              ADDS     r1,r1,#0xc0
00001c  6008              STR      r0,[r1,#0]
;;;53         INT->INTR_STS = ( uint16_t ) 0x00000000U;
00001e  6208              STR      r0,[r1,#0x20]
;;;54     }
000020  4770              BX       lr
;;;55     
                          ENDP

000022  0000              DCW      0x0000
                  |L2.36|
                          DCD      0x40011800

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

                  INT_GetFlagStatus PROC
;;;366     */
;;;367    FlagStatus INT_GetFlagStatus ( INT_Channel_Typedef INT_Channel, INT_Flag_TypeDef INT_Flag )
000000  4602              MOV      r2,r0
;;;368    {
;;;369        FlagStatus bitstatus = SC_RESET;
000002  2000              MOVS     r0,#0
;;;370        /* Check the parameters */
;;;371        assert_param ( IS_INT_CHANNEL ( INT_Channel ) );
;;;372        assert_param ( IS_INT_FLAG ( INT_Flag ) );
;;;373    
;;;374        /* Get INTR_IE Register */
;;;375        if ( INT_Flag & INT_Flag_Rising )
000004  07cb              LSLS     r3,r1,#31
000006  0fdb              LSRS     r3,r3,#31
000008  2b00              CMP      r3,#0
00000a  d008              BEQ      |L3.30|
;;;376        {
;;;377            if ( ( INT->INTR_STS & INT_Channel ) != ( uint16_t ) SC_RESET )
00000c  4b08              LDR      r3,|L3.48|
00000e  6a1b              LDR      r3,[r3,#0x20]
000010  4013              ANDS     r3,r3,r2
000012  2b00              CMP      r3,#0
000014  d001              BEQ      |L3.26|
;;;378            {
;;;379                bitstatus = SC_SET;
000016  2001              MOVS     r0,#1
000018  e009              B        |L3.46|
                  |L3.26|
;;;380            }
;;;381            else
;;;382            {
;;;383                bitstatus = SC_RESET;
00001a  2000              MOVS     r0,#0
00001c  e007              B        |L3.46|
                  |L3.30|
;;;384            }
;;;385        }
;;;386        else
;;;387        {
;;;388            if ( ( INT->INTF_STS & INT_Channel ) != ( uint16_t ) SC_RESET )
00001e  4b04              LDR      r3,|L3.48|
000020  681b              LDR      r3,[r3,#0]
000022  4013              ANDS     r3,r3,r2
000024  2b00              CMP      r3,#0
000026  d001              BEQ      |L3.44|
;;;389            {
;;;390                bitstatus = SC_SET;
000028  2001              MOVS     r0,#1
00002a  e000              B        |L3.46|
                  |L3.44|
;;;391            }
;;;392            else
;;;393            {
;;;394                bitstatus = SC_RESET;
00002c  2000              MOVS     r0,#0
                  |L3.46|
;;;395            }
;;;396        }
;;;397        return bitstatus;
;;;398    }
00002e  4770              BX       lr
;;;399    
                          ENDP

                  |L3.48|
                          DCD      0x400118c0

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

                  INT_ITConfig PROC
;;;306     */
;;;307    void INT_ITConfig ( uint16_t INT_Channel, uint16_t INT_IT, FunctionalState NewState )
000000  b510              PUSH     {r4,lr}
;;;308    {
;;;309        /* Check the parameters */
;;;310        assert_param ( IS_INT_CHANNEL ( INT_Channel ) );
;;;311        assert_param ( IS_INT_TRIGGER ( INT_IT ) );
;;;312        assert_param ( IS_FUNCTIONAL_STATE ( NewState ) );
;;;313    
;;;314        /* Configure INTR_IE Register */
;;;315        if ( INT_IT & INT_Trigger_Rising )
000002  07cb              LSLS     r3,r1,#31
000004  0fdb              LSRS     r3,r3,#31
000006  2b00              CMP      r3,#0
000008  d00e              BEQ      |L4.40|
;;;316        {
;;;317            if ( NewState == SC_ENABLE )
00000a  2a01              CMP      r2,#1
00000c  d105              BNE      |L4.26|
;;;318            {
;;;319                INT->INTR_IE |= INT_Channel;
00000e  4b10              LDR      r3,|L4.80|
000010  6a1b              LDR      r3,[r3,#0x20]
000012  4303              ORRS     r3,r3,r0
000014  4c0e              LDR      r4,|L4.80|
000016  6223              STR      r3,[r4,#0x20]
000018  e006              B        |L4.40|
                  |L4.26|
;;;320            }
;;;321            else
;;;322            {
;;;323                INT->INTR_IE &= ( uint16_t ) ( ~INT_Channel );
00001a  4b0d              LDR      r3,|L4.80|
00001c  6a1b              LDR      r3,[r3,#0x20]
00001e  43c4              MVNS     r4,r0
000020  b2a4              UXTH     r4,r4
000022  4023              ANDS     r3,r3,r4
000024  4c0a              LDR      r4,|L4.80|
000026  6223              STR      r3,[r4,#0x20]
                  |L4.40|
;;;324            }
;;;325        }
;;;326    
;;;327        /* Configure INTF_IE Register */
;;;328        if ( INT_IT & INT_Trigger_Falling )
000028  2302              MOVS     r3,#2
00002a  400b              ANDS     r3,r3,r1
00002c  2b00              CMP      r3,#0
00002e  d00e              BEQ      |L4.78|
;;;329        {
;;;330            if ( NewState == SC_ENABLE )
000030  2a01              CMP      r2,#1
000032  d105              BNE      |L4.64|
;;;331            {
;;;332                INT->INTF_IE |= INT_Channel;
000034  4b06              LDR      r3,|L4.80|
000036  681b              LDR      r3,[r3,#0]
000038  4303              ORRS     r3,r3,r0
00003a  4c05              LDR      r4,|L4.80|
00003c  6023              STR      r3,[r4,#0]
00003e  e006              B        |L4.78|
                  |L4.64|
;;;333            }
;;;334            else
;;;335            {
;;;336                INT->INTF_IE &= ( uint16_t ) ( ~INT_Channel );
000040  4b03              LDR      r3,|L4.80|
000042  681b              LDR      r3,[r3,#0]
000044  43c4              MVNS     r4,r0
000046  b2a4              UXTH     r4,r4
000048  4023              ANDS     r3,r3,r4
00004a  4c01              LDR      r4,|L4.80|
00004c  6023              STR      r3,[r4,#0]
                  |L4.78|
;;;337            }
;;;338        }
;;;339    }
00004e  bd10              POP      {r4,pc}
;;;340    
                          ENDP

                  |L4.80|
                          DCD      0x40011800

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

                  INT_Init PROC
;;;61       */
;;;62     void INT_Init ( INT_InitTypeDef* INT_InitStruct )
000000  b530              PUSH     {r4,r5,lr}
;;;63     {
;;;64         uint32_t tmppin = 0, tmppos = 0, tmpreg = 0;
000002  2300              MOVS     r3,#0
000004  2100              MOVS     r1,#0
000006  2200              MOVS     r2,#0
;;;65         /* Check the parameters */
;;;66         assert_param ( IS_INT_CHANNEL ( INT_InitStruct->INT_Channel ) );
;;;67         assert_param ( IS_INT_TRIGGER ( INT_InitStruct->INT_Trigger ) );
;;;68         assert_param ( IS_INT_INTSEL ( INT_InitStruct->INT_INTSEL ) );
;;;69     	
;;;70     		/* If the current initialization structure's channel settings include the INT channel on the UART TX pin of the programming port,
;;;71     	     then cancel this channel configuration */
;;;72     #if (UARTOptSwitch)
;;;73     #if defined(SC32f10xx)
;;;74     		if(((INT_InitStruct->INT_Channel & INT_Channel_3)  == INT_Channel_3) && (INT_InitStruct->INT_INTSEL == INT_INTSEL_PC))
;;;75     		{
;;;76     				INT_InitStruct->INT_Channel &= ~INT_Channel_3;
;;;77     		}
;;;78     #elif defined(SC32f12xx)
;;;79     		if(((INT_InitStruct->INT_Channel & INT_Channel_1)  == INT_Channel_1) && (INT_InitStruct->INT_INTSEL == INT_INTSEL_PB))
;;;80     		{
;;;81     				INT_InitStruct->INT_Channel &= ~INT_Channel_1;
;;;82     		}
;;;83     #elif defined(SC32f15xx)
;;;84     		if(((INT_InitStruct->INT_Channel & INT_Channel_8)  == INT_Channel_8) && (INT_InitStruct->INT_INTSEL == INT_INTSEL_PC))
000008  8804              LDRH     r4,[r0,#0]
00000a  25ff              MOVS     r5,#0xff
00000c  3501              ADDS     r5,#1
00000e  402c              ANDS     r4,r4,r5
000010  42ac              CMP      r4,r5
000012  d105              BNE      |L5.32|
000014  8884              LDRH     r4,[r0,#4]
000016  2c02              CMP      r4,#2
000018  d102              BNE      |L5.32|
;;;85     		{
;;;86     				INT_InitStruct->INT_Channel &= ~INT_Channel_8;
00001a  8804              LDRH     r4,[r0,#0]
00001c  43ac              BICS     r4,r4,r5
00001e  8004              STRH     r4,[r0,#0]
                  |L5.32|
;;;87     		}
;;;88     #endif
;;;89     #endif
;;;90     
;;;91         if ( ( INT_InitStruct->INT_Trigger & INT_Trigger_Rising ) != INT_Trigger_Null )
000020  7884              LDRB     r4,[r0,#2]
000022  07e4              LSLS     r4,r4,#31
000024  0fe4              LSRS     r4,r4,#31
000026  2c00              CMP      r4,#0
000028  d006              BEQ      |L5.56|
;;;92         {
;;;93             /* Set Rising edge configuration */
;;;94             INT->INTR_CON |= ( uint32_t ) INT_InitStruct->INT_Channel;
00002a  4c2c              LDR      r4,|L5.220|
00002c  6a24              LDR      r4,[r4,#0x20]
00002e  8805              LDRH     r5,[r0,#0]
000030  432c              ORRS     r4,r4,r5
000032  4d2a              LDR      r5,|L5.220|
000034  622c              STR      r4,[r5,#0x20]
000036  e005              B        |L5.68|
                  |L5.56|
;;;95         }
;;;96         else
;;;97         {
;;;98             /* Clear Rising edge configuration */
;;;99             INT->INTR_CON &= ( uint32_t ) ( ~(uint32_t)INT_InitStruct->INT_Channel );
000038  4c28              LDR      r4,|L5.220|
00003a  6a24              LDR      r4,[r4,#0x20]
00003c  8805              LDRH     r5,[r0,#0]
00003e  43ac              BICS     r4,r4,r5
000040  4d26              LDR      r5,|L5.220|
000042  622c              STR      r4,[r5,#0x20]
                  |L5.68|
;;;100        }
;;;101    
;;;102        if ( ( INT_InitStruct->INT_Trigger & INT_Trigger_Falling ) != INT_Trigger_Null )
000044  8844              LDRH     r4,[r0,#2]
000046  2502              MOVS     r5,#2
000048  402c              ANDS     r4,r4,r5
00004a  2c00              CMP      r4,#0
00004c  d006              BEQ      |L5.92|
;;;103        {
;;;104            /* Set Falling edge configuration */
;;;105            INT->INTF_CON |= ( uint32_t ) INT_InitStruct->INT_Channel;
00004e  4c23              LDR      r4,|L5.220|
000050  6824              LDR      r4,[r4,#0]
000052  8805              LDRH     r5,[r0,#0]
000054  432c              ORRS     r4,r4,r5
000056  4d21              LDR      r5,|L5.220|
000058  602c              STR      r4,[r5,#0]
00005a  e005              B        |L5.104|
                  |L5.92|
;;;106        }
;;;107        else
;;;108        {
;;;109            /* Clear Falling edge configuration */
;;;110            INT->INTF_CON &= ( uint32_t ) ( ~(uint32_t)INT_InitStruct->INT_Channel );
00005c  4c1f              LDR      r4,|L5.220|
00005e  6824              LDR      r4,[r4,#0]
000060  8805              LDRH     r5,[r0,#0]
000062  43ac              BICS     r4,r4,r5
000064  4d1d              LDR      r5,|L5.220|
000066  602c              STR      r4,[r5,#0]
                  |L5.104|
;;;111        }
;;;112    
;;;113        /* Get GPIOx PXLEV value */
;;;114        tmpreg = INT->INT_SEL0;
000068  4c1c              LDR      r4,|L5.220|
00006a  3c40              SUBS     r4,r4,#0x40
00006c  6822              LDR      r2,[r4,#0]
;;;115        /* Query the Pins that needs to be manipulated */
;;;116        for ( tmppos = 0; tmppos < 8; tmppos++ )
00006e  2100              MOVS     r1,#0
000070  e011              B        |L5.150|
                  |L5.114|
;;;117        {
;;;118            tmppin = ( uint32_t ) ( 0x01U << tmppos );
000072  2401              MOVS     r4,#1
000074  408c              LSLS     r4,r4,r1
000076  4623              MOV      r3,r4
;;;119            if ( ( tmppin & INT_InitStruct->INT_Channel ) != SC_RESET )
000078  8804              LDRH     r4,[r0,#0]
00007a  401c              ANDS     r4,r4,r3
00007c  2c00              CMP      r4,#0
00007e  d009              BEQ      |L5.148|
;;;120            {
;;;121                /* Clear the LEVx bits */
;;;122                tmpreg &= ( uint32_t ) ~ ( 0x0FU << ( tmppos * 4 ) );
000080  008d              LSLS     r5,r1,#2
000082  240f              MOVS     r4,#0xf
000084  40ac              LSLS     r4,r4,r5
000086  4615              MOV      r5,r2
000088  43a5              BICS     r5,r5,r4
00008a  462a              MOV      r2,r5
;;;123                /* Set LEVx bits according to Drive Level value */
;;;124                tmpreg |= ( uint32_t ) ( INT_InitStruct->INT_INTSEL << ( tmppos * 4 ) );
00008c  8884              LDRH     r4,[r0,#4]
00008e  008d              LSLS     r5,r1,#2
000090  40ac              LSLS     r4,r4,r5
000092  4322              ORRS     r2,r2,r4
                  |L5.148|
000094  1c49              ADDS     r1,r1,#1              ;116
                  |L5.150|
000096  2908              CMP      r1,#8                 ;116
000098  d3eb              BCC      |L5.114|
;;;125            }
;;;126        }
;;;127        /* Store GPIOx INT_SEL0 the new value */
;;;128        INT->INT_SEL0 = tmpreg;
00009a  4c10              LDR      r4,|L5.220|
00009c  3c40              SUBS     r4,r4,#0x40
00009e  6022              STR      r2,[r4,#0]
;;;129    
;;;130        /* Get GPIOx INT_SEL1 value */
;;;131        tmpreg = INT->INT_SEL1;
0000a0  6a22              LDR      r2,[r4,#0x20]
;;;132        /* Query the Pins that needs to be manipulated */
;;;133        for ( ; tmppos < 16; tmppos++ )
0000a2  e015              B        |L5.208|
                  |L5.164|
;;;134        {
;;;135            tmppin = ( uint32_t ) ( 0x01U << tmppos );
0000a4  2401              MOVS     r4,#1
0000a6  408c              LSLS     r4,r4,r1
0000a8  4623              MOV      r3,r4
;;;136            if ( ( tmppin & INT_InitStruct->INT_Channel ) != SC_RESET )
0000aa  8804              LDRH     r4,[r0,#0]
0000ac  401c              ANDS     r4,r4,r3
0000ae  2c00              CMP      r4,#0
0000b0  d00d              BEQ      |L5.206|
;;;137            {
;;;138                /* Clear the INT_SEL1 bits */
;;;139                tmpreg &= ( uint32_t ) ~ ( 0x0FU << ( ( tmppos - 8 ) * 4 ) );
0000b2  460c              MOV      r4,r1
0000b4  3c08              SUBS     r4,r4,#8
0000b6  00a5              LSLS     r5,r4,#2
0000b8  240f              MOVS     r4,#0xf
0000ba  40ac              LSLS     r4,r4,r5
0000bc  4615              MOV      r5,r2
0000be  43a5              BICS     r5,r5,r4
0000c0  462a              MOV      r2,r5
;;;140                /* Set INT_SEL1 bits according to Drive Level value */
;;;141                tmpreg |= ( uint32_t ) ( INT_InitStruct->INT_INTSEL << ( ( tmppos - 8 ) * 4 ) );
0000c2  8884              LDRH     r4,[r0,#4]
0000c4  460d              MOV      r5,r1
0000c6  3d08              SUBS     r5,r5,#8
0000c8  00ad              LSLS     r5,r5,#2
0000ca  40ac              LSLS     r4,r4,r5
0000cc  4322              ORRS     r2,r2,r4
                  |L5.206|
0000ce  1c49              ADDS     r1,r1,#1              ;133
                  |L5.208|
0000d0  2910              CMP      r1,#0x10              ;133
0000d2  d3e7              BCC      |L5.164|
;;;142            }
;;;143        }
;;;144        /* Store GPIOx INT_SEL1 the new value */
;;;145        INT->INT_SEL1 = tmpreg;
0000d4  4c01              LDR      r4,|L5.220|
0000d6  3c40              SUBS     r4,r4,#0x40
0000d8  6222              STR      r2,[r4,#0x20]
;;;146    }
0000da  bd30              POP      {r4,r5,pc}
;;;147    
                          ENDP

                  |L5.220|
                          DCD      0x40011880

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

                  INT_SetINTSEL PROC
;;;221      */
;;;222    void INT_SetINTSEL(INT_Channel_Typedef INT_Channel,
000000  b570              PUSH     {r4-r6,lr}
;;;223                       INT_INTSEL_Typedef INT_INTSEL)
;;;224    {
000002  4602              MOV      r2,r0
000004  460b              MOV      r3,r1
;;;225        uint32_t tmppin = 0;
000006  2400              MOVS     r4,#0
;;;226        uint32_t tmppos = 0;
000008  2000              MOVS     r0,#0
;;;227        uint32_t tmpreg = 0;
00000a  2100              MOVS     r1,#0
;;;228    
;;;229        assert_param(IS_INT_CHANNEL(INT_Channel));
;;;230        assert_param(IS_INT_INTSEL(INT_INTSEL));
;;;231    
;;;232        tmpreg = INT->INT_SEL0;
00000c  4d1b              LDR      r5,|L6.124|
00000e  6829              LDR      r1,[r5,#0]
;;;233    
;;;234        for(tmppos = 0; tmppos < 8; tmppos++)
000010  bf00              NOP      
000012  e011              B        |L6.56|
                  |L6.20|
;;;235        {
;;;236            tmppin = (uint32_t)(1UL << tmppos);
000014  2501              MOVS     r5,#1
000016  4085              LSLS     r5,r5,r0
000018  462c              MOV      r4,r5
;;;237    
;;;238            if((INT_Channel & tmppin) != SC_RESET)
00001a  4615              MOV      r5,r2
00001c  4025              ANDS     r5,r5,r4
00001e  2d00              CMP      r5,#0
000020  d009              BEQ      |L6.54|
;;;239            {
;;;240                tmpreg &= ~(0x0FUL << (tmppos * 4));
000022  0086              LSLS     r6,r0,#2
000024  250f              MOVS     r5,#0xf
000026  40b5              LSLS     r5,r5,r6
000028  460e              MOV      r6,r1
00002a  43ae              BICS     r6,r6,r5
00002c  4631              MOV      r1,r6
;;;241                tmpreg |= ((uint32_t)INT_INTSEL << (tmppos * 4));
00002e  0086              LSLS     r6,r0,#2
000030  461d              MOV      r5,r3
000032  40b5              LSLS     r5,r5,r6
000034  4329              ORRS     r1,r1,r5
                  |L6.54|
000036  1c40              ADDS     r0,r0,#1              ;234
                  |L6.56|
000038  2808              CMP      r0,#8                 ;234
00003a  d3eb              BCC      |L6.20|
;;;242            }
;;;243        }
;;;244    
;;;245        INT->INT_SEL0 = tmpreg;
00003c  4d0f              LDR      r5,|L6.124|
00003e  6029              STR      r1,[r5,#0]
;;;246    
;;;247        tmpreg = INT->INT_SEL1;
000040  6a29              LDR      r1,[r5,#0x20]
;;;248    
;;;249        for(; tmppos < 16; tmppos++)
000042  e015              B        |L6.112|
                  |L6.68|
;;;250        {
;;;251            tmppin = (uint32_t)(1UL << tmppos);
000044  2501              MOVS     r5,#1
000046  4085              LSLS     r5,r5,r0
000048  462c              MOV      r4,r5
;;;252    
;;;253            if((INT_Channel & tmppin) != SC_RESET)
00004a  4615              MOV      r5,r2
00004c  4025              ANDS     r5,r5,r4
00004e  2d00              CMP      r5,#0
000050  d00d              BEQ      |L6.110|
;;;254            {
;;;255                tmpreg &= ~(0x0FUL << ((tmppos - 8) * 4));
000052  4605              MOV      r5,r0
000054  3d08              SUBS     r5,r5,#8
000056  00ae              LSLS     r6,r5,#2
000058  250f              MOVS     r5,#0xf
00005a  40b5              LSLS     r5,r5,r6
00005c  460e              MOV      r6,r1
00005e  43ae              BICS     r6,r6,r5
000060  4631              MOV      r1,r6
;;;256                tmpreg |= ((uint32_t)INT_INTSEL << ((tmppos - 8) * 4));
000062  4605              MOV      r5,r0
000064  3d08              SUBS     r5,r5,#8
000066  00ae              LSLS     r6,r5,#2
000068  461d              MOV      r5,r3
00006a  40b5              LSLS     r5,r5,r6
00006c  4329              ORRS     r1,r1,r5
                  |L6.110|
00006e  1c40              ADDS     r0,r0,#1              ;249
                  |L6.112|
000070  2810              CMP      r0,#0x10              ;249
000072  d3e7              BCC      |L6.68|
;;;257            }
;;;258        }
;;;259    
;;;260        INT->INT_SEL1 = tmpreg;
000074  4d01              LDR      r5,|L6.124|
000076  6229              STR      r1,[r5,#0x20]
;;;261    }
000078  bd70              POP      {r4-r6,pc}
;;;262    /**
                          ENDP

00007a  0000              DCW      0x0000
                  |L6.124|
                          DCD      0x40011840

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

                  INT_StructInit PROC
;;;152     */
;;;153    void INT_StructInit(INT_InitTypeDef* INT_InitStruct)
000000  2100              MOVS     r1,#0
;;;154    {
;;;155        /* Set the default configuration */
;;;156        INT_InitStruct->INT_Channel = 0x00;     
000002  8001              STRH     r1,[r0,#0]
;;;157        INT_InitStruct->INT_Trigger = INT_Trigger_Null;  
000004  8041              STRH     r1,[r0,#2]
;;;158        INT_InitStruct->INT_INTSEL = INT_INTSEL_PA;      
000006  8081              STRH     r1,[r0,#4]
;;;159    }
000008  4770              BX       lr
;;;160    
                          ENDP


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

                  INT_TriggerMode PROC
;;;187     */
;;;188    void INT_TriggerMode ( INT_Channel_Typedef INT_Channel, INT_Trigger_TypeDef Trigger_Mode )
000000  07ca              LSLS     r2,r1,#31
;;;189    {
;;;190        if ( ( Trigger_Mode & INT_Trigger_Rising ) != INT_Trigger_Null )
000002  0fd2              LSRS     r2,r2,#31
000004  2a00              CMP      r2,#0
000006  d005              BEQ      |L8.20|
;;;191        {
;;;192            /* Set Rising edge configuration */
;;;193            INT->INTR_CON |= ( uint32_t ) INT_Channel;
000008  4a0d              LDR      r2,|L8.64|
00000a  6a12              LDR      r2,[r2,#0x20]
00000c  4302              ORRS     r2,r2,r0
00000e  4b0c              LDR      r3,|L8.64|
000010  621a              STR      r2,[r3,#0x20]
000012  e004              B        |L8.30|
                  |L8.20|
;;;194        }
;;;195        else
;;;196        {
;;;197            /* Clear Rising edge configuration */
;;;198            INT->INTR_CON &= ( uint32_t ) ( ~(uint32_t)INT_Channel );
000014  4a0a              LDR      r2,|L8.64|
000016  6a12              LDR      r2,[r2,#0x20]
000018  4382              BICS     r2,r2,r0
00001a  4b09              LDR      r3,|L8.64|
00001c  621a              STR      r2,[r3,#0x20]
                  |L8.30|
;;;199        }
;;;200    
;;;201        if ( ( Trigger_Mode & INT_Trigger_Falling ) != INT_Trigger_Null )
00001e  2202              MOVS     r2,#2
000020  400a              ANDS     r2,r2,r1
000022  2a00              CMP      r2,#0
000024  d005              BEQ      |L8.50|
;;;202        {
;;;203            /* Set Falling edge configuration */
;;;204            INT->INTF_CON |= ( uint32_t ) INT_Channel;
000026  4a06              LDR      r2,|L8.64|
000028  6812              LDR      r2,[r2,#0]
00002a  4302              ORRS     r2,r2,r0
00002c  4b04              LDR      r3,|L8.64|
00002e  601a              STR      r2,[r3,#0]
000030  e004              B        |L8.60|
                  |L8.50|
;;;205        }
;;;206        else
;;;207        {
;;;208            /* Clear Falling edge configuration */
;;;209            INT->INTF_CON &= ( uint32_t ) ( ~(uint32_t)INT_Channel );
000032  4a03              LDR      r2,|L8.64|
000034  6812              LDR      r2,[r2,#0]
000036  4382              BICS     r2,r2,r0
000038  4b01              LDR      r3,|L8.64|
00003a  601a              STR      r2,[r3,#0]
                  |L8.60|
;;;210        }
;;;211    
;;;212    }
00003c  4770              BX       lr
;;;213    
                          ENDP

00003e  0000              DCW      0x0000
                  |L8.64|
                          DCD      0x40011880

;*** Start embedded assembler ***

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

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

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
