How do you set up an ISR for receiving characters on USART2? The documentation is sorely lacking here. I found https://www.avrfreaks.net/index.p... this thread, but it still leaves a lot of unknowns (e.g. which USART is it for).
I know I need to use the INTC driver. I need to call INTC_init_interrupts and then INTC_register_interrupt, but I don't understand the 2nd argument in INTC_register_interrupt. Is this a vector address? Where is it documented? What do I use for the USART2 receive interrupt? Is there something else I need to call to enable the interrupt, or is it just these 2 functions?