SPI macht interrupt
This commit is contained in:
parent
266d90df56
commit
fd2cb56ef3
11 changed files with 605 additions and 538 deletions
|
@ -10,3 +10,20 @@ ISR(USART0_TX_vect)
|
|||
{
|
||||
usart.handleTX();
|
||||
}
|
||||
|
||||
ISR(SPI_STC_vect)
|
||||
{
|
||||
spi.handleTransfer();
|
||||
}
|
||||
|
||||
/*
|
||||
ISR(BADISR_vect)
|
||||
{
|
||||
DDRB |= _BV(PB0);
|
||||
while(1)
|
||||
{
|
||||
PORTB ^= _BV(PB0);
|
||||
_delay_ms(100);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue