MOD54415 IRQ question.

Discussion to talk about software related topics only.
joepasquariello
Posts: 85
Joined: Mon Apr 28, 2008 7:32 am

Re: MOD54415 IRQ question.

Post by joepasquariello »

Ah, that makes sense. Clearing the interrupt also clears the status flag, so you have to read status before clearing interrupts.

One other way to get the result you want is to start with interrupt on rising edge, then switching to falling edge within the ISR, and so on. CP2102's solution is better.
Post Reply