设置GPIO引脚(P2.3)的上升沿和下降沿都触发中断,应该如何操作呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
目前例程中使用的是
| GPIO_interruptEdgeSelect | ( | uint_fast8_t | selectedPort, |
| uint_fast16_t | selectedPin, | ||
| uint_fast8_t | edgeSelect | ||
| ) |
edgeSelect的值应为GPIO_LOW_TO_HIGH_TRANSITION或GPIO_HIGH_TO_LOW_TRANSITION
请问您现在的具体应用场景是怎样的?