23 lines
239 B
C++
23 lines
239 B
C++
#include <avr/interrupt.h>
|
|
#include "global_vars.h"
|
|
|
|
ISR(USART0_RX_vect)
|
|
{
|
|
usart.handleRX();
|
|
}
|
|
|
|
ISR(USART0_TX_vect)
|
|
{
|
|
usart.handleTX();
|
|
}
|
|
|
|
ISR(SPI_STC_vect)
|
|
{
|
|
spi.handleTransfer();
|
|
}
|
|
|
|
ISR(ADC_vect)
|
|
{
|
|
adu.handleConversionComplete();
|
|
}
|