litex/software/videomixer/isr.c

16 lines
226 B
C
Raw Normal View History

2013-03-21 05:42:31 -04:00
#include <hw/uart.h>
#include <interrupt.h>
#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();
}