STM8L 中,中断优先级通过下面函数设置,但此处仅 ITC_PriorityLevel_1,ITC_PriorityLevel_2,ITC_PriorityLevel_3 总共才3个中断优先级可设置,若我超过3个中断,该怎么设置? /** * @brief Sets the software priority of the specified interrupt source. * @note The modification of the software priority is only possible when * the interrupts are disabled. * @note The normal behavior is to disable the interrupt before calling * this function, and re-enable it after. * @note The priority level 0 cannot be set (see product specification * for more details). * @param IRQn : Specifies the peripheral interrupt source. * @param ITC_PriorityLevel : Specifies the software priority value to set * This parameter can be one of the following values: * @arg ITC_PriorityLevel_0: Software priority level 0 (cannot be written) * @arg ITC_PriorityLevel_1: Software priority level 1 * @arg ITC_PriorityLevel_2: Software priority level 2 * @arg ITC_PriorityLevel_3: Software priority level 3 * @retval None */ void ITC_SetSoftwarePriority(IRQn_TypeDef IRQn, ITC_PriorityLevel_TypeDef ITC_PriorityLevel) { } |
stm8s003 adc中断和通道切换的问题
adc施密特触发器stm8
stm8l051f3 TSSOP20 封装,待机模式下,2天后,电流突然增加到140UA
STM8S用STVP烧录怎么加密?
如何使用ST官网例程_LIN总线通讯_STM8AF
STM8 LIN
IAR代码编辑太费劲了,想问一下有没有好的方法,试了VScode但是头文件老是报错,调了很久也没调好,想换个方法了。
想问一下各位大佬,IAR下载调试代码时出现 warning: is an illegal data sample expression IAR是什么意思啊?
STM8S标准库TIM1编码器功能不计数,请大师帮我看看
cosmic stm8 license网页申请按键没反应,可能是什么原因?
所以,这么几个优先级就够了。
优先级的含义是,可以打断低优先级的中断。实际上不允许你嵌套太多的中断。非常费堆栈。