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

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

                  PWR_EnterIDLEMode PROC
;;;48       */
;;;49     void PWR_EnterIDLEMode ( uint8_t PWR_IDLEEntry )
000000  4906              LDR      r1,|L1.28|
;;;50     {
;;;51         /* Check the parameters */
;;;52         assert_param ( IS_PWR_IDLE_ENTRY ( PWR_IDLEEntry ) );
;;;53     
;;;54         /* Reset SLEEPDEEP bit of Cortex System Control Register */
;;;55         SCB->SCR &= ( uint32_t ) ~ ( ( uint32_t ) SCB_SCR_SLEEPDEEP_Msk );
000002  6909              LDR      r1,[r1,#0x10]
000004  2204              MOVS     r2,#4
000006  4391              BICS     r1,r1,r2
000008  4a04              LDR      r2,|L1.28|
00000a  6111              STR      r1,[r2,#0x10]
;;;56     
;;;57         /* Select SLEEP mode entry -------------------------------------------------*/
;;;58         if ( PWR_IDLEEntry == PWR_IDLEEntry_WFI )
00000c  2801              CMP      r0,#1
00000e  d101              BNE      |L1.20|
;;;59         {
;;;60             /* Request Wait For Interrupt */
;;;61             __WFI();
000010  bf30              WFI      
000012  e002              B        |L1.26|
                  |L1.20|
;;;62         }
;;;63         else
;;;64         {
;;;65             /* Request Wait For Event */
;;;66             __SEV();
000014  bf40              SEV      
;;;67             __WFE();
000016  bf20              WFE      
;;;68             __WFE();
000018  bf20              WFE      
                  |L1.26|
;;;69         }
;;;70     }
00001a  4770              BX       lr
;;;71     
                          ENDP

                  |L1.28|
                          DCD      0xe000ed00

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

                  PWR_EnterSTOPMode PROC
;;;80       */
;;;81     void PWR_EnterSTOPMode ( uint8_t PWR_STOPEntry )
000000  4909              LDR      r1,|L2.40|
;;;82     {
;;;83         /* Check the parameters */
;;;84         assert_param ( IS_PWR_STOP_ENTRY ( PWR_STOPEntry ) );
;;;85     
;;;86         /* Set STOPDEEP bit of Cortex System Control Register */
;;;87         SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk;
000002  6909              LDR      r1,[r1,#0x10]
000004  2204              MOVS     r2,#4
000006  4311              ORRS     r1,r1,r2
000008  4a07              LDR      r2,|L2.40|
00000a  6111              STR      r1,[r2,#0x10]
;;;88     
;;;89         /* Select STOP mode entry -------------------------------------------------*/
;;;90         if ( PWR_STOPEntry == PWR_STOPEntry_WFI )
00000c  2801              CMP      r0,#1
00000e  d101              BNE      |L2.20|
;;;91         {
;;;92             /* Request Wait For Interrupt */
;;;93             __WFI();
000010  bf30              WFI      
000012  e002              B        |L2.26|
                  |L2.20|
;;;94         }
;;;95         else
;;;96         {
;;;97             /* Request Wait For Event */
;;;98             __SEV();
000014  bf40              SEV      
;;;99             __WFE();
000016  bf20              WFE      
;;;100            __WFE();
000018  bf20              WFE      
                  |L2.26|
;;;101        }
;;;102    
;;;103        /* Reset STOPDEEP bit of Cortex System Control Register */
;;;104        SCB->SCR &= ( uint32_t ) ~ ( ( uint32_t ) SCB_SCR_SLEEPDEEP_Msk );
00001a  4903              LDR      r1,|L2.40|
00001c  6909              LDR      r1,[r1,#0x10]
00001e  2204              MOVS     r2,#4
000020  4391              BICS     r1,r1,r2
000022  4a01              LDR      r2,|L2.40|
000024  6111              STR      r1,[r2,#0x10]
;;;105    }
000026  4770              BX       lr
;;;106    
                          ENDP

                  |L2.40|
                          DCD      0xe000ed00

;*** Start embedded assembler ***

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

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

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
