I'm using an Atmel SAM3U4E board, and I'm trying to get a UART interrupt to function so that I can only call UART reading code (in an ISR) when I get data.
A couple questions:
-Which bit of the ISER (interrupt enable register) do I set -- 1<<14 or 1<<(32-14) or whatever - or in other words, which bit would correspond to interrupt #14 (as this is what UART1 is defined as)
-Once that interrupt is enabled, how do I set it to enter the ISR once the UART receives data?
Any help would be great!