/*FUNCTION********************************************************************** * * Function Name : SMC_HAL_SetStopSubMode * Description : Config the stop sub mode control setting * This function will set the stop submode settings. Some of the stop mode will * further have submode supported. Refer to smc_stop_submode_t for supported * stop submode and Refer to reference manual for details about the submode * for specific stop mode. * *END**************************************************************************/ void SMC_HAL_SetStopSubMode(uint32_t baseAddr, smc_stop_submode_t stopSubMode) { #if FSL_FEATURE_SMC_USE_VLLSCTRL_REG BW_SMC_VLLSCTRL_VLLSM(baseAddr, stopSubMode); #else #if FSL_FEATURE_SMC_USE_STOPCTRL_VLLSM BW_SMC_STOPCTRL_VLLSM(baseAddr, stopSubMode); #else BW_SMC_STOPCTRL_LLSM(baseAddr, stopSubMode); #endif #endif }
/*FUNCTION********************************************************************** * * Function Name : smc_hal_power_mode_config_stop_submode * Description : Config the stop sub mode control setting * This function will set the stop submode settings. Some of the stop mode will * further have submode supported. Refer to smc_stop_submode_t for supported * stop submode and Refer to reference manual for details about the submode * for specific stop mode. * *END**************************************************************************/ void smc_hal_power_mode_config_stop_submode(smc_stop_submode_t stopSubMode) { #if FSL_FEATURE_SMC_USE_VLLSCTRL_REG BW_SMC_VLLSCTRL_VLLSM(stopSubMode); #else #if FSL_FEATURE_SMC_USE_STOPCTRL_VLLSM BW_SMC_STOPCTRL_VLLSM(stopSubMode); #else BW_SMC_STOPCTRL_LLSM(stopSubMode); #endif #endif }