Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN
Tool/software:
Dear All.
I am using one GPIO pin as an IRQ pin.
Of course, I set input and IRQ Enable in Halcogen.
While using the code, I have a question about enabling/disabling the interrupt of the GPIO.
The sequence is as follows.
1. The GPIO falls to Low, so an IRQ is triggered.
2. Disable IRQ using the gioDisableNotification() function.
3. Perform a specific operation.
4. The GPIO falls to Low again.
5. Complete the specific operation 3 and enable IRQ using the gioEnableNotification() function.
6. IRQ is triggered immediately.
The desired result is that 6 should not occur, but in the actual test, it seems that 4 was recognized, and 6 occurred after 5 was completed. (It seems that the interrupt that occurs before gioDisableNotification() is executed and gioEnableNotification() is executed is not deleted.)
Am I understanding it correctly?
What I want to do is to ignore the interrupt between gioDisableNotification() and gioEnableNotification(). Is there an API for that function?
Best Regards,
IBLEE

