Hardware Manual - RTD Embedded Technologies, Inc.
Hardware Manual - RTD Embedded Technologies, Inc.
Hardware Manual - RTD Embedded Technologies, Inc.
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
BA + 0x08h (8): Program IRQ Source and Channel (Write)<br />
16-bit Operation.<br />
Interrupt Register:<br />
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0<br />
IRQ2 Channel Select<br />
000 = disabled<br />
001 = IRQ3<br />
010 = IRQ5<br />
011 = IRQ9<br />
100 = IRQ10<br />
101 = IRQ11<br />
110 = IRQ12<br />
111 = IRQ15<br />
IRQ2 Source Select<br />
IRQ1 Channel Select<br />
00000 = A/D sample counter 000 = disabled<br />
00001 = A/D start convert 001 = IRQ3<br />
00010 = A/D end-of-convert 010 = IRQ5<br />
00011 = A/D write FIFO<br />
011 = IRQ9<br />
00100 = A/D FIFO half full 100 = IRQ10<br />
00101 = A/D DMA done 101 = IRQ11<br />
00110 = reset channel-gain table 110 = IRQ12<br />
00111 = pause channel-gain table 111 = IRQ15<br />
01000 = external pacer clock<br />
01001 = external trigger<br />
01010 = digital interrupt<br />
01011 = User TC Counter 0 out<br />
01100 = User TC Counter 0 out inverted<br />
01101 = User TC Counter 1 out<br />
01110 = digital input FIFO half full<br />
01111 = digital input write FIFO<br />
10000 = digital interrupt port2/3<br />
10001 = analog threshold<br />
10010 = external interrupt 1<br />
10011 = external interupt 2<br />
IRQ1 Source Select<br />
00000 = A/D sample counter<br />
00001 = A/D start convert<br />
00010 = A/D end-of-convert<br />
00011 = A/D write FIFO<br />
00100 = A/D FIFO half full<br />
00101 = A/D DMA done<br />
00110 = reset channel-gain table<br />
00111 = pause channel-gain table<br />
01000 = external pacer clock<br />
01001 = external trigger<br />
01010 = digital interrupt<br />
01011 = User TC Counter 0 out<br />
01100 = User TC Counter 0 out inverted<br />
01101 = User TC Counter 1 out<br />
01110 = digital input FIFO half full<br />
01111 = digital input write FIFO<br />
10000 = digital interrupt port2/3<br />
10001 = analog threshold<br />
10010 = external interrupt 1<br />
10011 = external interupt 2<br />
This register programs the software selectable interrupt source and channel. The IRQ circuitry is driven by an<br />
open collector device which is turned off when the IRQ channel is set to disable. The IRQ sources are:<br />
A/D sample counter: an interrupt is generated when the A/D sample counter count reaches 0.<br />
A/D start convert:<br />
an interrupt is generated when a conversion is started.<br />
A/D end-of-convert:<br />
an interrupt is generated when an end-of-convert is issued by the A/D converter.<br />
A/D write FIFO:<br />
an interrupt is generated when data is written into the A/D FIFO.<br />
A/D FIFO half full:<br />
an interrupt is generated when the A/D FIFO is half-full.<br />
A/D DMA done:<br />
an interrupt is generated when the A/D DMA done flag goes high.<br />
Reset channel-gain table: an interrupt is generated when the channel-gain table resets to the beginning.<br />
Pause channel-gain table: an interrupt is generated when a pause occurs in the channel-gain table.<br />
External pacer clock:<br />
an interrupt is generated when the external pacer clock line is pulsed.<br />
External trigger:<br />
an interrupt is generated when the external trigger line is pulsed.<br />
Digital interrupt:<br />
an interrupt is generated when an advanced digital interrupt occurs.<br />
User TC Counter 0 out: an interrupt is generated when user TC Counter 0’s count reaches 0.<br />
User TC Counter 0 out inverted:an interrupt is generated when user TC Counter 0’s count reaches 0<br />
(useful for frequency counting).<br />
User TC Counter 1 out: an interrupt is generated when user TC Counter 1’s count reaches 0.<br />
Digital input FIFO half full: an interrupt is generated when the Digital Input FIFO is half-full.<br />
Digital input write FIFO: an interrupt is generated when data is written into the Digital Input FIFO.<br />
46 DM6425HR dataModule BDM-610010034 Rev C