Private macro -------------------------------------------------------------*/ Private variables ---------------------------------------------------------*/ Private function prototypes -----------------------------------------------*/ Private functions ---------------------------------------------------------*/ / * @brief * Set the allocation and offset of the vector table * * @details * * @
| 66 | * The vector table offset |
| 67 | ******************************************************************************/ |
| 68 | static void NVIC_SetVectorTable( |
| 69 | rt_uint32_t NVIC_VectTab, |
| 70 | rt_uint32_t Offset) |
| 71 | { |
| 72 | /* Check the parameters */ |
| 73 | RT_ASSERT(IS_NVIC_VECTTAB(NVIC_VectTab)); |
| 74 | RT_ASSERT(IS_NVIC_OFFSET(Offset)); |
| 75 | |
| 76 | SCB->VTOR = NVIC_VectTab | (Offset & (rt_uint32_t)0x1FFFFF80); |
| 77 | } |
| 78 | |
| 79 | /***************************************************************************//** |
| 80 | * @brief |
no outgoing calls
no test coverage detected