/* This function should be called before entering STOP/VLPS/LLS/VLLS modes.  */
void SMC_PreEnterStopModes(void)
/* This function should be called before entering STOP/VLPS/LLS/VLLS modes.  */
void SMC_PreEnterStopModes(void)
{
    g_savedPrimask = DisableGlobalIRQ();
    __ISB();
}