Example (see picture 21):
By writing the value 0x00800004 Hex as a mask value (see param-
eter
<iIrqArg>
of the function
, bit 2 is monitored
for a falling edge, and bit 7 for a rising edge. A rising edge now is
to arrive at bit 7, so that an interrupt is issued and in the inter-
rupt status value bit b 23 returns "1". Any edges that might arrive
at pins labelled with an "X" are ignored. Only the change in state of
a pin whose edge is set to "1" in the parameter
<iIrqArg>
can is-
sue an interrupt.
The interrupt event is evaluated with the function
We recommend using what is known as the "extended format" to
obtain detailed information about the triggering edge.
4.3.2 Bit-Pattern Compare
In the “bit-pattern compare” mode, the bit-pattern of digital inputs
can be monitored for equality or inequality. The compare bit-pat-
tern of the corresponding subdevice is used as reference. If the
state changes from unequal to equal or from equal to unequal, an
interrupt is generated (see picture 22 on page 37).
Содержание ME-5001
Страница 15: ...3 2 ME 5810 cPCI 3 3 ME 5810 PCIe ...