I used __NVIC_SetVector(CTIMER0_IRQn, (uint32_t)ctimer0_ISR); to set the address for the function that will handler Ctimer0 interrupt. however the moment I enable the interrupt(using __NVIC_EnableIRQ(CTIMER0_IRQn);) the code go to HardFault_handler();. So the issue is with _...
总的来说set和map是关联式容器,而我们前面学习的vector和list的序列式容器。 set和map底层几乎是搜索二叉树,所以他们都可以进行排序和去重,走的是中序遍历1、set(底层相当于key的搜索树)具体可以看:https://legacy.cplusplus.com/reference/set/set/?kw=seta、插入:b、删除:注:2、mu 子树 二叉搜索树 中序遍历...
I used __NVIC_SetVector(CTIMER0_IRQn, (uint32_t)ctimer0_ISR); to set the address for the function that will handler Ctimer0 interrupt. however the moment I enable the interrupt(using __NVIC_EnableIRQ(CTIMER0_IRQn);) the code go to HardFault_handler();. So the issue...
I used __NVIC_SetVector(CTIMER0_IRQn, (uint32_t)ctimer0_ISR); to set the address for the function that will handler Ctimer0 interrupt. however the moment I enable the interrupt(using __NVIC_EnableIRQ(CTIMER0_IRQn);) the code go to HardFault_handler();. So the ...