litex/software/videomixer/isr.c

15 lines
202 B
C
Raw Normal View History

2013-04-14 10:33:00 -04:00
#include <hw/csr.h>
2013-03-21 05:42:31 -04:00
#include <irq.h>
#include <uart.h>
void isr(void);
void isr(void)
{
unsigned int irqs;
irqs = irq_pending() & irq_getmask();
if(irqs & (1 << UART_INTERRUPT))
uart_isr();
}