vector_idx = vector_number - FGV_MIN;
t = EA;
EA = 0;
_fifo_gpif_autovector[vector_idx] = LJMP_OPCODE;
_fifo_gpif_autovector[vector_idx + 1] = addr >> 8;
_fifo_gpif_autovector[vector_idx + 2] = addr & 0xff;
EA = t;
}
/* end */
Comments?
Michele
On 27/11/2007, Mi
Dear all,
I modified a little the firmware of a usrp-based device.
I wanted to check the buffer overrun event on the BULK IN EP2 FIFO, but the
interrupt autovectoring mechanism doesn't work.
The following code
static void
isr_EP2FULLFLAG (void) interrupt
{
clear_fifo_gpif_irq ();
IOD ^= 0x01