挖坟,翻帖子看到这篇求助,楼上几位真的很搞笑。人家问了会就直说得了。这啊 那啊的说不到重点,
在中断函数里直接判断是哪一个引脚电平拉低就可以了
比如Pd端口中断了,具体来看一下是哪PD3否就这样写
INTERRUPT_HANDLER(EXTI_PORTD_IRQHandler, 6)
{
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/