コード例 #1
0
ファイル: fsl_smc_hal.c プロジェクト: nevinxu/HM502B2
/*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);
}
コード例 #2
0
ファイル: fsl_smc_hal.c プロジェクト: 23chrischen/mbed
/*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);
}