![]() |
MT7687 API Reference
LinkIt SDK v4
|
Macros | |
| #define | HAL_NVIC_QUERY_EXCEPTION_NUMBER ((SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) >> SCB_ICSR_VECTACTIVE_Pos) |
| This macro is used to query the current exception status of Cortex-M4. More... | |
| #define HAL_NVIC_QUERY_EXCEPTION_NUMBER ((SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) >> SCB_ICSR_VECTACTIVE_Pos) |
This macro is used to query the current exception status of Cortex-M4.
If the value is 0, the Cortex-M4 is running successfully, otherwise an exception occured and the exception number is the value of the macro.