Part Number:MSP430F2418
查阅手册得知,P1IFG位置1的条件是,对应的IE置1和GIE打开
我在程序调试中,发现没有配置对应的IE位为1,IFG接收到边沿也会置1
如上图,请问怎样才能让我没有配置IE的位 IFG就算检测到边沿也不置1
Susan Yang:
能否给出您的程序?另外请注意
Only transitions, not static levels, cause interrupts. If any PxIFGx flag becomes set during a Px interrupt service routine, or is set after the RETI instruction of a Px interrupt service routine is executed, the set PxIFGx flag generates another interrupt. This ensures that each transition is acknowledged.