===============================================================================================
     MCU PS4 state sleep wake up Example Program without RAM retention with flash 
     based execution					   
===============================================================================================
Copyright(C) Redpine Signals 2017
All rights reserved by Redpine Signals.

This program should be used on your own responsibility.
Redpine Signals assumes no responsibility for any losses
incurred by customers or third parties arising from the use of this file. 

===============================================================================================
===============================================================================================                                                       
Functional description:
===============================================================================================
This Example configures the processor state from PS4 to deep sleep and then wakes up from deep sleep  
based on RTC seconds interrupts with flash based execution without RAM retention.
Without RAM retention consists of two modes :They are 
          1.Using ULPSS RAM -: ULPSS RAM address are used as stack pointer .To enable this mode uncommnet the 
		                        line number 37 and comment line number 38
          2.Using NPSS battery filpflop : Here M4 RAM address are used for stack pointer .To enable this mode
                     		  uncommnet the line number 38 and comment line number 37
		            
This example also demonstrates how to configure  RTC milli second interrupts,Deep sleep timer 
interrupts,RTC Alarm interrupts,UULP_GPIO_2 interrupts as a wakeup sources based on the particular
define uncommented from line number 30 to 34.
===============================================================================================
 
===============================================================================================                                                       
Pass Criteria:
===============================================================================================
NPSS gpio pin3 should toggle.
===============================================================================================
Assistance software:
---------------------
None

===============================================================================================
Usage Procedure:
===============================================================================================
1.Uncomment the required define from line number 30 to 34
2.Build and run the program 
===============================================================================================

