/* \This function use extern interrupt to wake up mcu from sleep mode */
void WakeUpFromPowerDown(void)
/* \This function use extern interrupt to wake up mcu from sleep mode */
void WakeUpFromPowerDown(void)
{	 
    xIntEnable(INT_EINT1);
    xIntPrioritySet(INT_EINT1, 1);
    xGPIOSPinTypeGPIOInput(PD3);
    xSPinTypeEXTINT(NINT1, PD3);
    xGPIOPinIntEnable(GPIO_PORTD_BASE, GPIO_PIN_3, xGPIO_FALLING_EDGE);
}