SVC_Handler
时间: 2023-08-06 20:09:25 浏览: 299
SVC_Handler是一个中断服务函数,用于触发一个PendSV异常来进行任务的上下文切换。具体的切换过程在PendSV_Handler中完成。在CM3内核中,有两种模式:用户模式和特权模式。某些操作需要在特权模式下进行,因此这些操作被放在SVC_Handler中进行。在SVC_Handler中,可以使用SVC_Table数组来保存函数指针,以便调用相应的函数。在启动文件的向量表中,SVC中断服务函数的注册名称是SVC_Handler,因此SVC中断服务函数的名称应该写成SVC_Handler。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [STM32F103 FreeRTOS任务启动与切换流程](https://blog.csdn.net/billionguy/article/details/106947008)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [cortex M3 系统svc 系统调用](https://blog.csdn.net/gooogleman/article/details/102526419)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [实现调度器](https://blog.csdn.net/m0_63702526/article/details/126102372)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文