zoom/testdac/pic/isr.c
2007-02-21 19:53:24 +00:00

14 lines
219 B
C

#include <pic.h>
#include "config.h"
#include "isr.h"
#include "serial.h"
#pragma interrupt_level 1
void interrupt isr(void)
{
if(TXIE && TXIF)
serial_interrupt_tx();
if(RCIE && RCIF)
serial_interrupt_rx();
}