smart_lock_cm33_core1/drivers/fsl_power.c
/* Enter Power mode */
/*!
 * brief Power Library API to enter different power mode.
 *
 * param exclude_from_pd  Bit mask of the PDRUNCFG0(low 32bits) and PDRUNCFG1(high 32bits) that needs to be powered on
 * during power mode selected.
 * return none
 */
Enter Power mode
brief Power Library API to enter different power mode.

param exclude_from_pd  Bit mask of the PDRUNCFG0(low 32bits) and PDRUNCFG1(high 32bits) that needs to be powered on
during power mode selected.
return none
Enter Power mode brief Power Library API to enter different power mode . param exclude_from_pd Bit mask of the PDRUNCFG0 ( low 32bits ) and PDRUNCFG1 ( high 32bits ) that needs to be powered on during power mode selected . return none
void POWER_EnterPowerMode(power_mode_cfg_t mode, uint64_t exclude_from_pd)
{
    switch (mode)
    {
        case kPmu_Sleep:
            POWER_EnterSleep();
            break;
        case kPmu_Deep_Sleep:
            POWER_EnterDeepSleep(exclude_from_pd);
            break;
        case kPmu_PowerDown:
            POWER_EnterPowerDown(exclude_from_pd);
            break;
        case kPmu_Deep_PowerDown:
            POWER_EnterDeepPowerDown(exclude_from_pd);
            break;
        default:
            break;
    }
}
void POWER_EnterPowerMode ( power_mode_cfg_t mode , uint64_t exclude_from_pd ) { switch ( mode ) { case kPmu_Sleep : POWER_EnterSleep ( ) ; break ; case kPmu_Deep_Sleep : POWER_EnterDeepSleep ( exclude_from_pd ) ; break ; case kPmu_PowerDown : POWER_EnterPowerDown ( exclude_from_pd ) ; break ; case kPmu_Deep_PowerDown : POWER_EnterDeepPowerDown ( exclude_from_pd ) ; break ; default : break ; } }
Enter Power mode
 brief Power Library API to enter different power mode.
Enter Power mode brief Power Library API to enter different power mode .