2.5.1Interrupt Block Diagram of OME-PIO-D96
| INT_CHAN_0 |
INT\ | INT_CHAN_1 |
| |
Level_trigger | INT_CHAN_2 |
| |
| INT_CHAN_3 |
| initial_low |
| active_high |
The interrupt output signal of
The priority of INT_CHAN_0/1/2/3 is the same. If all these four signals are active at the same time, then INT\ will be active only once a time. So the interrupt service routine has to read the status of all interrupt channels for
DEMO5.C → for
If only one interrupt source is used, the interrupt service routine doesn’t have to read the status of interrupt source. The demo programs, DEMO3.C & DEMO4.C are designed for
DEMO3.C → for INT_CHAN_0 only (P2C0 initial low) DEMO4.C → for INT_CHAN_0 only (P2C0 initial high)