/*FUNCTION********************************************************************** * * Function Name : SMC_HAL_SetLpwuiMode * Description : Config the LPWUI (Low Power Wake Up on interrup) option * This function will set the LPWUI option. It will cause the system to exit * to normal RUN mode when any active interrupt occurs while in a certain lower * power mode. Refer to smc_lpwui_option_t for supported options and refer to * reference manual for more details about this option. * *END**************************************************************************/ void SMC_HAL_SetLpwuiMode(uint32_t baseAddr, smc_lpwui_option_t option) { BW_SMC_PMCTRL_LPWUI(baseAddr, option); }
/*FUNCTION********************************************************************** * * Function Name : smc_hal_config_lpwui_option * Description : Config the LPWUI (Low Power Wake Up on interrup) option * This function will set the LPWUI option. It will cause the system to exit * to normal RUN mode when any active interrupt occurs while in a certain lower * power mode. Refer to smc_lpwui_option_t for supported options and refer to * reference manual for more details about this option. * *END**************************************************************************/ void smc_hal_config_lpwui_option(smc_lpwui_option_t option) { BW_SMC_PMCTRL_LPWUI(option); }