UartInterruptDemo

The UartInterruptDemo example shows how to use a UART interrupt to indicate task completion when sending or receiving data over a UART. The UART can trigger an interrupt when data is available in the UART receiver FIFO or when the UART transmitter FIFO is empty. In this example, when you type a character in a UART terminal, the data goes to the UART receiver and fills up FIFO buffer. This action interrupts the processor and forces the processor to execute an interrupt/priority routine that allows the UART to read from the buffer and send a message back to the terminal.

The application displays messages on a UART terminal:

***Starting Uart Interrupt Demo*** 
Start typing on terminal to trigger uart RX FIFO not empty interrupt .. 

Entering uart rx fifo not empty interrupt routine .. 
hDone .. 

Entering uart rx fifo not empty interrupt routine .. 
eDone .. 
l
 Entering uart rx fifo not empty interrupt routine .. 
lDone .. 

Entering uart rx fifo not empty interrupt routine .. 
lDone .. 
o
 Entering uart rx fifo not empty interrupt routine .. 
oDone ..