IOS-EP2 I/O SERVER MODULE Cyclone II Based FPGA Module
___________________________________________________________________
__________________________________________________________________________
Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:[email protected] http://www.acromag.com
17
Bit(s)
Function by Model
I/O
Type
IOS-EP201
IOS-EP202/
IOS-EP204
IOS-EP203
0
Diff.
Not Used
Ch 0, 1, 12, 13
Ch 12, 13
1
Not Used
Ch 2, 3, 14, 15
Ch 14, 15
2
Not Used
Ch 4, 5, 16, 17
Ch 16, 17
3
Not Used
Ch 6, 7, 18, 19
Ch 18, 19
4
Not Used
Ch 8, 9, 20, 21
Ch 20, 21
5
Not Used
Ch 10, 11, 22, 23
Ch 22, 23
6
TTL
Ch 0
– Ch 7
Not Used
Ch 0
– Ch 7
7
Ch 8
– Ch 15
Not Used
Ch 8
– Ch 15
8
Ch 16
– Ch 23
Not Used
Ch 16
– Ch 23
9
Ch 24
– Ch 31
Not Used
Not Used
10
Ch 32
– Ch 39
Not Used
Not Used
11
Ch 40
– Ch 47
Not Used
Not Used
15 12
Not Used
Interrupt Enable Registers (Read/Write) - (Base + 0AH)
The Interrupt Enable Registers provide a mask bit for the first 8 channels
on any IOS-
EP2 model. A “0” bit will prevent the corresponding input
channel fr
om generating an external interrupt. A “1” bit will allow the
corresponding input channel to generate an interrupt. Only those channels
enabled for interrupts will generate interrupts. Interrupts are only available
on the first eight channels.
Interrupt Enable Register
MSB
LSB
Bit 07
Bit 06
Bit 05
Bit 04
Bit 03
Bit 02
Bit 01
Bit 00
Ch 07
Ch 06
Ch 05
Ch 04
Ch 03
Ch 02
Ch 01
Ch 00
The Interrupt Enable register at the carrier‟s base a offset 0AH
is used to control channels 00 through 07. For example, channel 00 is
controlled via data bit-0 as seen in the prior table.
Channel read operations use 8-bit, or 16-bit data transfers. The upper 8
bits of this register are “Not Used” and will always read logic “0”.
All input channel interrupts are
disabled (set to “0”) following a power-on
or software reset.
Interrupt Type Configuration Registers (Read/Write) - (Base + 0CH)
The Interrupt Type Configuration Registers determine the type of input
channel transition that will generate an interrupt for each of the 8 possible
interrupting channels. A “0” bit selects interrupt on level. An interrupt will be
generated when the input channel level specified by the Interrupt Polarity
Register occurs (i.e. Low or High level transition interrupt). A “1” bit means
the interrupt will occur when a Change-Of-State (COS) occurs at the
Table 3.6:
Direction Control
Register