5 muliti-interrupt source – Omega Vehicle Security OME-PIO-D56 User Manual

Page 18

Advertising
background image

2.4.5 Muliti-Interrupt Source

Assume: PC0 is initial Low, active High,
PC1 is initial High, active Low
PC2 is initial Low, active High
PC3 is initial High, active Low

as follows :

PC1

PC0

PC2

PC3

PC0 & PC1 are
return to normal
at the same time.

PC2 & PC3 are
return to normal at
the same time.

PC0 & PC1 are
active at the same
time.

PC2 & PC3 are
active at the same
time.

























Refer to DEMO5.C for source program. All these four falling-edge & rising-edge
can be detected by DEMO5.C.

Note: When the interrupt is active, the user program has to identify the active
signals. These signals may be active at the same time. The interrupt service
routine has to service all active signals at the same time.

OME-PIO-D56/PIO-D24 User Manual (Ver.2.1, Oct/2003, PPH-005-21) ---- 16

Advertising