Change Of State Interrupt Function - Advantech PCM-3753I User Manual

96-channel digital i/o pci-104 module
Hide thumbs Also See for PCM-3753I:
Table of Contents

Advertisement

d) When the input signals at channels PA01, PA02 and PA07 are high and
PA06 is low, an interrupt signal will be generated. This result is not
affected by the states of channels PA00, PA03, PA04 and PA05.

3.3.8 Change of State Interrupt Function

The PCM-3753I also provides the change of state interrupt function for
port B0. It monitors the status of the enabled channels of port B0, which
are chosen in Base+28 (or Base+60 for the PCM-3753IE). When one of
the enabled channels changes its state, the PCM-3753I delivers an inter-
rupt signal to the system to handle this event. The following is an exam-
ple.
Example 3.2 Assume that the change of state interrupt function for the
I/O channels PB01, PB02, PB06 and PB07 on the PCM-3753IE are
enabled (i.e. the signals in PB00, PB03, PB04 and PB05 on the PCM-
3753IE and port B0 of the PCM-3753I are ignored during the change of
state process). When a change of state occurs in either PB01 or PB02 or
PB06 or PB07, an interrupt signal will be delivered to the system.
a) First, enable the change of state interrupt function for PB01, PB02,
PB06 and PB07 of the PCM-3753IE.
7
Bit #
1
Base+60
b) Then, enable the change of state interrupt function for port B0 of the
PCM-3753IE by writing a "1" in bit 2 of Base+48.
M2
Description
1
Enable the change of state interrupt function for port A0
0
Disable the change of state interrupt function for port A0
c) When a change of state occurs in PB01 or PB02 or PB06 or PB07 on
the PCM-3753IE, an interrupt signal is generated.
6
5
4
1
0
0
23
3
2
1
0
1
1
0
0
Chapter 3

Advertisement

Table of Contents
loading

Table of Contents