Hello everyone,
I just received my first Teensy 3.0 and am a bit exited right now Guess you all know that feeling...
Now there are quite some questions evolving, which most boil down to read the 1k2++ pages of specs... guess I am spoilt by the vast arduino code base. Seems like everything code related has at least partly been done already in the arduino ecosystem.
Long story short, I am trying to port a sketch that uses ISR(USART_RX_vect) to receive data from a PC software. Its an LED matrix control software, that puts out it's own rather timing critical protocol (i.e. RGB values). So, is there an equivalent ISR available on ARM? Also, the macros for setting up the UART by flags seem to be missing:
Guess I'm back to that humungus PDF, if anyone can lend me a hand... would be really appreciated
Kind regards,
Ray
I just received my first Teensy 3.0 and am a bit exited right now Guess you all know that feeling...
Now there are quite some questions evolving, which most boil down to read the 1k2++ pages of specs... guess I am spoilt by the vast arduino code base. Seems like everything code related has at least partly been done already in the arduino ecosystem.
Long story short, I am trying to port a sketch that uses ISR(USART_RX_vect) to receive data from a PC software. Its an LED matrix control software, that puts out it's own rather timing critical protocol (i.e. RGB values). So, is there an equivalent ISR available on ARM? Also, the macros for setting up the UART by flags seem to be missing:
Code:
UCSR0A |= (1<<U2X0);
UCSR0B |= (1<<RXEN0) | (1<<TXEN0) | (1<<RXCIE0);
UCSR0C |= (1<<UCSZ01) | (1<<UCSZ00) ;
UBRR0H = 0;
UBRR0L = 1;
Guess I'm back to that humungus PDF, if anyone can lend me a hand... would be really appreciated
Kind regards,
Ray