STM32与FreeRTOS中断.doc
文档内容节选
STM32之FreeRTOS与硬件中断 虽然之前没有接触过RTOS,但是使用RTOS时,我一直就很疑惑如果中断发生,应该怎样 处理中断,系统是怎么屏蔽中断的尝试使用二值信号量时,发现操作系统居然不调度 了,而是转入HardFaultHandler中了这让我明白,应该是FreeRTOS与硬件中断之前的 关系引起的 查看操作系统源码,它让我查看 在此,翻译一部分关键段落: The RTOS interrupt nesting scheme splits the available interrupt priorities into two groups those that will get masked by RTOS critical sections and those that are never masked by RTOS critical sections and are therefore always enabled The configMAXSYSCALLINTERRUPTPRIORITY setting in FreeRTOSC......
猜您喜欢
推荐内容
开源项目推荐 更多
热门活动
热门器件
用户搜过
随便看看
热门下载
评论