Publication No. 500-001184-000 Rev. B.0
Programming 35
3.4.1 Interrupt Levels
These three bits (L2 through L0) set the interrupt level that the IP will present to
the host when a COS, or Marker request is made. The interrupt levels and the
field values are:
Bits 7 through 4: Marker Interrupt Enable and Level bits.
Bits 3 through 0: COS Interrupt Enable and Level bits.
The interrupt for the COS/SOE is cleared automatically when one of the following
conditions is met:
#1: ROAK mode - Interrupt Acknowledged
#2: ROFE mode - FIFO is emptied
#3: Interrupt enabled bit is cleared
The Quadrature Marker Pulse interrupt is cleared when its interrupt is
acknowledged, or when the MKR_INT_ENA bit is cleared.
3.5 Interrupt Processor COS Vector Register (Offset: $XXXX0D)
This is a read-write register, programmed by the user with the interrupt vector
value desired for the COS interrupt bits 7 through 0.
Default is $00
.
3.6 Interrupt Processor Marker Vector Register (Offset: $XXXX0E)
This is a read-write register, programmed by the user with the interrupt vector
value desired for the Marker interrupts bits 7 through 0.
Default is $00
.
3.7 Counter FIFO Register (Offset: $XXXX10)
This read-only 32-bit data register contains the value of the counter at the time
that the data capture was triggered. It should be read once with each read to the
Data register (two reads when used in SOE mode) so that time stamp/data
alignment will be maintained. This will result in the complete data structure as
shown:
In COS mode:
• Counter_Value
• COS_Input_Data
Setting Bit 9 in the CSR to one (1) enables this register.
In SOE mode, there are two data FIFO reads:
Table 3-8 Interrupt Level Bits
L2
L1
L0
IRQ Level
0
0
0
Disabled
0
0
1
IRQ1
0
1
0
IRQ2
0
1
1
IRQ3
1
0
0
IRQ4
1
0
1
IRQ5
1
1
0
IRQ6
1
1
1
IRQ7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com