Appendix B - Custom Programming; Pld Interrupts; Interrupt Control Register - VersaLogic Copperhead VL-EBX-41 Reference Manual

Intel 3rd generation core quad or dual core sbc with ethernet, hd graphics, acpi 4.0, sata, raid, usb, eusb, msata, sumit, hd audio, serial, analog + digital i/o, and spx
Table of Contents

Advertisement

Appendix B – Custom Programming

PLD Interrupts

The PLD can generate interrupts for the internal 8254 timers and the external SPI interrupt
(which includes the DIO device interrupt). The SPI interrupt settings are discussed in the section
on "SPX Expansion Bus." This section covers the interrupt settings for the 8254 timers.
I
C
NTERRUPT
ONTROL
This register enables interrupts.
IRQCTRL (Read/Write) CA3h
D7
IRQEN
Bit
Mnemonic
D7
IRQEN
D6-D5
IRQSEL(2:0)
D4
Reserved
D2
IMASK_TC5
D1
IMASK_TC4
D0
IMASK_TC3
Note: IRQ3, IRQ4, IRQ5, IRQ10 are also defined for the SPX interface interrupts. If one of these interrupts
is selected for the SPX interface and also enabled here for the timer interrupts, then the interrupt sources
are combined (i.e., logically OR'd).
EBX-41 Reference Manual
R
EGISTER
D6
D5
IRQSEL2
IRQSEL1
IRQSEL0
Table 31: Interrupt Control Register Bit Assignments
Description
IRQ Enable — Enables or disables an interrupt.
0 = Disable interrupt
1 = Enable interrupt
Specifies the interrupt mapping (this setting is ignored when IRQEN = 0 ...
interrupts are disabled):
"000"
IRQ3 (default)
"001"
IRQ4
"010"
IRQ5
"011"
IRQ10
"100"
IRQ6
"101"
IRQ7
"110"
IRQ9
"111"
IRQ11
These bits are reserved. Only write 0 to these bits and ignore all read values.
Mask for the 8254 Timer #5 output (terminal count) Interrupt.
0 = Disable interrupt
1 = Enable interrupt
Mask for the 8254 Timer #4 output (terminal count) Interrupt.
0 = Disable interrupt
1 = Enable interrupt
Mask for the 8254 Timer #3 output (terminal count) Interrupt.
0 = Disable interrupt
1 = Enable interrupt
D4
D3
reserved
IMSK_TC5
B B
D2
D1
D0
IMSK_TC4
IMSK_TC3
62

Advertisement

Table of Contents
loading

Table of Contents