2.5.5 Muliti Interrupt Source

Assume: P2C0 is initial Low, active High, P5C0 is initial High, active Low P8C0 is initial Low, active High P11C0 is initial High, active Low

as follows:

P2C0

P5C0

P8C0

P11C0

P2C0 & P5C0 are active at the same time.

P8C0 & P11C0 are active at the same time.

P2C0 & P5C0 are return to normal at the same time.

P8C0 & P11C0 are return to normal at the same time.

Refer to DEMO5.C for the source. All these four falling edges & rising edges can be detected by DEMO5.C.

Note: When the interrupt is active, the user program has to identify the active signals. Multiple signals maybe active simultaneously. So the interrupt service routine has to service all active signals at the same time.

OME-PIO-D96 User Manual (Ver.1.1, Mar/2003)

---- 14

Page 16
Image 16
Omega Engineering OME-PIO-D96 manual Muliti Interrupt Source