/* param base SMC peripheral base address. return SMC configuration error code.  */
status_t SMC_SetPowerModeVlps(SMC_Type *base)
/* param base SMC peripheral base address. return SMC configuration error code.  */
status_t SMC_SetPowerModeVlps(SMC_Type *base)
{
    uint8_t reg;
    reg = base->PMCTRL;
    reg &= ~SMC_PMCTRL_STOPM_MASK;
    reg |= (kSMC_StopVlps << SMC_PMCTRL_STOPM_SHIFT);
    base->PMCTRL = reg;
    SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk;
    (void)base->PMCTRL;
    SMC_EnterStopRamFunc();
    if (base->PMCTRL & SMC_PMCTRL_STOPA_MASK)
    {
        return kStatus_SMC_StopAbort;
    }
    else
    {
        return kStatus_Success;
    }
}