SERIES AP470 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 28 -
http://www.acromag.com
- 28 -
www.acromag.com
Event Interrupt Status Register for Ports 0-5 (Enhanced Mode Bank 1, Port 6, Read Only)
(BAR0 + 0x0000 0020)
Reading this register will return the event interrupt status of I/O ports 0-5
(bits 0-5) and the interrupt status flag (bit 7). Bit 7 of this register indicates
an event sense was detected on any of the 6 event sense ports (“1” =
interrupt asserted/event sensed). Note that the interrupt status flag may
optionally drive the Interrupt request to the system (see Interrupt Enable
and Status register).
Table 3.13 Event Interrupt
Status Register for Ports 0-5
BIT
READ EVENT STATUS REGISTER
0
Port 0 Interrupt Status (I/O0-I/O7)
1
Port 1 Interrupt Status (I/O8-I/O15)
2
Port 2 Interrupt Status (I/O16-I/O23)
3
Port 3 Interrupt Status (I/O24-I/O31)
4
Port 4 Interrupt Status (I/O32-I/O39)
5
Port 5 Interrupt Status (I/O40-I/O47)
6
NOT USED
7
Interrupt Status Flag
Event Polarity Control Register For Ports 0-3 (Enhanced Mode Bank 1, Port 6, Write Only)
(BAR0 + 0x0000 0020)
A write to this register controls the polarity of the input sense event for
nibbles of ports 0-3 (channels 0-31, four channels at a time). A “1” written to
a bit in this register will cause the corresponding event sense input lines to
flag negative events (high-to-low transitions). A “0” will cause positive
events to be sensed (low-to-high transitions). The polarity of the event
sense logic must be set prior to enabling the event input logic. Note that no
events will be detected until enabled via the Event Sense Status & Clear
Register. Further, interrupts will not be reported to the system unless the
Interrupt enable bit-0 has been configured for enable via the Interrupt
Register.
Table 3.14 Event Polarity
Control Register For Ports 0-3
(Port 6)
BIT
WRITE “1” (NEGATIVE)
WRITE “0” (POSITIVE)
0
Negative Events on
Port 0 I/O0 through I/O3
Positive Events on
Port 0 I/O0 through I/O3
1
Negative Events on
Port 0 I/O4 through I/O7
Positive Events on
Port 0 I/O4 through I/O7
2
Negative Events on
Port 1 I/O8 through I/O11
Positive Events on
Port 1 I/O8 through I/O11
3
Negative Events on
Port 1 I/O12 through I/O15
Positive Events on
Port 1 I/O12 through I/O15
4
Negative Events on
Port 2 I/O16 through I/O19
Positive Events on
Port 2 I/O16 through I/O19