请问中断中polarity=0和2.有什么区别吗?怎么都是下降沿?
时间:10-02
整理:3721RD
点击:
Polarity This read/write bit determines whether interrupts are generated on the rising edge or the
falling edge of the signal on the pin.
00 Interrupt generated on a falling edge (high-to-low transition)
01 Interrupt generated on a rising edge low-to-high transition)
10 Interrupt is generated on a falling edge (high to low transition)
11 Interrupt generated on both a falling edge and a rising edge (high to low and low to high
transition)
falling edge of the signal on the pin.
00 Interrupt generated on a falling edge (high-to-low transition)
01 Interrupt generated on a rising edge low-to-high transition)
10 Interrupt is generated on a falling edge (high to low transition)
11 Interrupt generated on both a falling edge and a rising edge (high to low and low to high
transition)
已退回1积分