看有些中断例子程序
/* Enable the EXTI4 Interrupt on PD.4 */ NVIC_InitStructure.NVIC_IRQChannel = EXTI4_IRQChannel; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 2; NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
其中的 PreemptionPriority 和 SubPriority表示什么?有两个优先级吗?
怎么STM3210F的资料上没有写中断机制的? |