23
Chapter 3
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.
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.
c) When a change of state occurs in PB01 or PB02 or PB06 or PB07 on
the PCM-3753IE, an interrupt signal is generated.
Bit #
7
6
5
4
3
2
1
0
Base+60
1
1
0
0
0
1
1
0
M2
Description
1
Enable the change of state interrupt function for port A0
0
Disable the change of state interrupt function for port A0
Содержание PCM-3753I
Страница 1: ...PCM 3753I 96 channel Digital I O PCI 104 Module User Manual...
Страница 6: ...PCM 3753I User Manual vi...
Страница 7: ...2 CHAPTER 1 General Information...
Страница 12: ...PCM 3753I User Manual 6 1 5 Pin Assignments CN5 CN8 CN5 A0 B0 C0 CN6 A1 B1 C1 CN7 A2 B2 C2 CN8 A3 B3 C3...
Страница 13: ...2 CHAPTER 2 Installation...
Страница 19: ...2 CHAPTER 3 Operation...
Страница 30: ...PCM 3753I User Manual 24...