对应的函数库为:
/******************************************************************************* * Function Name : NVIC_SETPRIMASK * Description : Enables the PRIMASK priority: Raises the execution priority to 0. * Input : None * Output : None * Return : None *******************************************************************************/ void NVIC_SETPRIMASK(void) { __SETPRIMASK(); }
/******************************************************************************* * Function Name : NVIC_RESETPRIMASK * Description : Disables the PRIMASK priority. * Input : None * Output : None * Return : None *******************************************************************************/ void NVIC_RESETPRIMASK(void) { __RESETPRIMASK(); }
/******************************************************************************* * Function Name : NVIC_SETFAULTMASK * Description : Enables the FAULTMASK priority: Raises the execution priority to -1. * Input : None * Output : None * Return : None *******************************************************************************/ void NVIC_SETFAULTMASK(void) { __SETFAULTMASK(); }
/******************************************************************************* * Function Name : NVIC_RESETFAULTMASK * Description : Disables the FAULTMASK priority. * Input : None * Output : None * Return : None *******************************************************************************/ void NVIC_RESETFAULTMASK(void) { __RESETFAULTMASK(); }
|